Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compose (merge) two images #159

Closed
klediouron opened this issue Aug 21, 2023 · 3 comments · Fixed by #161
Closed

Compose (merge) two images #159

klediouron opened this issue Aug 21, 2023 · 3 comments · Fixed by #161
Assignees
Labels
Conversion enhancement New feature or request GUI Graphics interface idea Idea

Comments

@klediouron
Copy link

klediouron commented Aug 21, 2023

As a user, I'd like to have a GUI way of combining two images.
The imagick command to use is:
magick imageA.jpg imageB.jpg -gravity center -background white +append -quality 100 imageA-imageB.jpg

Describe the solution you'd like

  • The user checks the "Compose" box (which may be in the "Tools" frame)
  • The user is then prompted to choose Image A, and Image B in the "Original" Frame.
  • The output image is previewed in the "Result" frame
  • The user can choose the output quality (defaults to 100)
  • The user can choose the background color (default to white)
  • The user can choose to append horizontally (adds +append param) or vertically (adds -append param)
  • The user can toggle the resizing if the two images aren't the same size (defaults to false, when true, adds -set option:ww "%[fx:min(u.w,v.w)]" -set option:hh "%[fx:min(u.h,v.h)]" -resize "%[ww]x%[hh]" to the command)
  • The user can rename the output file (defaults to combination of the two file names with a dash)
  • The user can choose the "gravity" (junction between the two images), defaults to center (doc of gravity here https://www.imagemagick.org/script/command-line-options.php#gravity)

Describe alternatives you've considered
The alternative is to use the command in my CLI which is frustrating and can be a hassle

@TeaM-TL TeaM-TL self-assigned this Aug 21, 2023
@TeaM-TL TeaM-TL added enhancement New feature or request GUI Graphics interface Conversion idea Idea labels Aug 21, 2023
@github-project-automation github-project-automation bot moved this to To do in FotoKilof Aug 21, 2023
@TeaM-TL
Copy link
Owner

TeaM-TL commented Aug 21, 2023

Hi Kevin.
may thanks, good idea, I was thinking about it but still thinking.
You did great job by describing how it should works.
Let me a while, This month is busy. In September I will have more time for it

@TeaM-TL TeaM-TL moved this from To do to In progress in FotoKilof Aug 21, 2023
@klediouron
Copy link
Author

Hi, you are welcome, and no problem, take your time 🙂
I may have forgotten some use cases & params in the issue (my use case of the image combining is for creating manga double-paged spreads)

If so, I'll add some either by editing the OG message or adding a new comment 🙂

@TeaM-TL TeaM-TL mentioned this issue Sep 10, 2023
@github-project-automation github-project-automation bot moved this from In progress to Done in FotoKilof Sep 10, 2023
@TeaM-TL
Copy link
Owner

TeaM-TL commented Sep 10, 2023

fixed in 4.4.0

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Conversion enhancement New feature or request GUI Graphics interface idea Idea
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants