transcript of part 1
Code: Select all
how do you vertically stack 4 images
into 1 image? on mass. with 1000 images.
on mass. fast. not manually. this example was made manually
they're all the same resolution
and in the correct order in name and time
please explain it easily for a beginner.
i can not into code
operating system is windows 7 64-bit
problem solved
1. imagemagick.org/script/binary-realeases/php
2. ImageMagick-6.8.5-6-Q16-x86-dll.exe
3. run "cmd.exe". windows command prompt
4. navigate to the directory with yoru images with:
cd "[C:\][Copy Paste Directory with Images]"
5. copy paste the following command and press enter
montage *rect.png -tile 1x4 -geometry +0+0 vert-%d.png
Code: Select all
how do you stop files from being overwritten
1st set of files to convert. this
plus
montage *rect.png -tile 1x4 -geometry +0+0 vert-%d.png
equals
1st set of files converted. that
2nd set of files to convert. this
plus
montage *rect.png -tile 1x4 -geometry +0+0 vert-%d.png
equals
2nd set of files converted. that
the problem is that they overwrite the 1st set of files converted
i think it overwrites it because the filename output is the same
[/code
questions
how do you get it to input filenames with specific numbers?
for example have it input 01 to 04 but not input 05 to 16
how do you get it to output filenames with specific numbers?
for example have it output vert-05 to vert-08 but not vert-0 to vert-03
how do you get imagemagick convert to do what montage has done here?
people keep giving me code that only works for convert and not montage
notes
the images in this image were made and used as examples
and the non example images i need to convert are 1000
i'd rather not create a bunch of folders for input and output directories
i'd rather have all of the images in 1 folder
but i dont know how to do either yet so if i find that out i may have to do that
thanks!
so if they don't seem like good replies then that's the reason
thanks. ''rectvert'' actually is an example i made for this.fmw42 wrote: montage rose*.jpg -geometry +0+0 -tile 1x2 results_%d.jpg
what i'm really working with is 1000 images
the actual images are formatted like this
Code: Select all
YYYY-MM-DD-filename.png
how to vertically stack every 4 images into single images
this code works in windows 7 64-bit power shell imagemagick montage
Code: Select all
montage *rect.png -tile 1x4 -geometry +0+0 vert-%d.png
how do you stop overwriting old output files?
problem now is overwriting output files because they're the same filename
how do you stop files from overwriting eachother?
i don't know what i'm doing
Code: Select all
C:\Users\User\1\rectvert>montage *rect.png -tile 1x4 -geometry +0+0 *.png
C:\Users\User\1\rectvert>montage *rect.png -tile 1x4 -geometry +0+0 *.png
C:\Users\User\1\rectvert>montage *rect.png -tile 1x4 -geometry +0+0 vert-%d.png
C:\Users\User\1\rectvert>montage *rect.png -tile 1x4 -geometry +0+0 [filename]ve
rt-%d.png
C:\Users\User\1\rectvert>montage *rect.png -tile 1x4 -geometry +0+0 %[filename]v
ert-%d.png
C:\Users\User\1\rectvert>montage *rect.png -tile 1x4 -geometry +0+0 [filename]ve
rt-%d.png
C:\Users\User\1\rectvert>montage *rect.png -tile 1x4 -geometry +0+0 %%[filename]
vert-%%d.png
C:\Users\User\1\rectvert>