LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Merge JPGs (https://www.linuxquestions.org/questions/linux-software-2/merge-jpgs-257344/)

mddolloff 11-20-2004 03:43 PM

Merge JPGs
 
I have been trying to merge some jpgs together and can't seem to find software that will allow me to do this in a batch fasion. I've got a lot of images and I just need to butt them up to each othere in a 2x2 tile fasion and save them off as a new image. I'm tried to use ImageMagick's montage command but that leaves a gap between the images and I can't figure out how to get rid of it. Any help you can provide would be great. Thanks.

david_ross 11-20-2004 03:46 PM

Welcome to LQ.

Did you use the "-borderwidth 0" option? Are you sure your existing images don't have borders?

mddolloff 11-20-2004 03:57 PM

Yeah I am sure they don't have a border. They come up with no border when I open them individually in gimp. This is the command i am running.

montage +frame +shadow +label -borderwidth 0 -geometry 640x480 -tile 2x2 L_11220274_06_07200_COL_2001.JPG L_11250274_06_07200_COL_2001.JPG L_11220272_06_07200_COL_2001.JPG L_11250272_06_07200_COL_2001.JPG out.jpg

mddolloff 11-20-2004 04:12 PM

And as a side note, the gap only exists vertically. The left and right edges bump against each other, but row one and two don't touch.

mddolloff 11-20-2004 04:19 PM

Alright i am a dork. I can't do division and for some reason decided to apply the wrong dimesions to the new image. I got it working now though.

david_ross 11-21-2004 07:41 AM

Sometimes the obvious ones are the most difficult to spot, well done.


All times are GMT -5. The time now is 02:03 PM.