Page 1 of 1

Merge 2 photos and keep name from the first during export

Posted: 2017-02-28T07:05:16-07:00
by canica
Hi everyone,

I just downloaded ImageMagick and am already in need of help. :) I have two folders with 200 images each and need to merge them together, like:

434.png + data-1.png

The first batch of pngs has unique IDs, the other one (like data-1), counts from 1 to 199. As the IDs have an important meaning, the file should keep the name of the first picture (434.png) after merging.

Can someone help me out? I tried a couple of things, but nothing really worked and if you couldn't already tell, I am a complete newbie with things like that. Until now everything I needed was done with Photoshop actions.

Thanks already for your help, it's really appreciated!

Re: Merge 2 photos and keep name from the first during export

Posted: 2017-02-28T10:36:17-07:00
by fmw42
What is your IM version and platform, since syntax may vary.

How do you plan which image in folder 1 is to be merged with which image in folder 2? Do you have a list of pairs of image from each folder?

What do you mean by merge? Append them side-by-side? Blend them such as an average?

Please clarify further.

Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.

See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at viewtopic.php?f=1&t=9620

For novices, see

viewtopic.php?f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/

Re: Merge 2 photos and keep name from the first during export

Posted: 2017-02-28T10:55:26-07:00
by snibgo
As Fred says.

The solution probably involves a shell script, so knowing what shell you use (bash, Windows BAT, or whatever) would help us to help you.