How do I covert all images in folder with all images in another folder?
Posted: 2017-09-02T14:14:53-07:00
I'm currently working on a project where I'll be creating mockups of hundreds of shirts, sweatshirts, ect. All images in "Fill" folder are ~6000px. The images in "Mask" Folder are all exactly 6000x6000px.
I currently have this command. Now I have to manually input the fill name and mask name to get a desired output.
Here's what I'm trying to accomplish.
I want to take all images in a specific folder, Run them through ImageMagick to create multiple mockups of different product types.
Here's a example.
FillFolder-->
Fill1.png
fill2.png
fill3.png
ect..
MaskFolder-->
Shirt.png
Sweatshirt.png
Hoodie.png
ect..
OutPutFolder-->
Fill1Shirt.png Fill1Sweatshirt.png Fill1Hoodie.png
Fill2Shirt.png Fill2Sweatshirt.png Fill2Hoodie.png
Fill3Shirt.png Fill3Sweatshirt.png Fill3Hoodie.png
ect..
I know this can be complicated. But I'm hoping somebody can help me out. I'm pretty new to ImageMagick and Command/Terminal in general.
Thank You.
I currently have this command. Now I have to manually input the fill name and mask name to get a desired output.
Code: Select all
convert /Users/name/Desktop/fill.png /Users/name/Desktop/mask.png -gravity center -composite -extent 6000x6000 -resize 2000x2000 /Users/name/Desktop/result.png
Here's what I'm trying to accomplish.
I want to take all images in a specific folder, Run them through ImageMagick to create multiple mockups of different product types.
Here's a example.
FillFolder-->
Fill1.png
fill2.png
fill3.png
ect..
MaskFolder-->
Shirt.png
Sweatshirt.png
Hoodie.png
ect..
OutPutFolder-->
Fill1Shirt.png Fill1Sweatshirt.png Fill1Hoodie.png
Fill2Shirt.png Fill2Sweatshirt.png Fill2Hoodie.png
Fill3Shirt.png Fill3Sweatshirt.png Fill3Hoodie.png
ect..
I know this can be complicated. But I'm hoping somebody can help me out. I'm pretty new to ImageMagick and Command/Terminal in general.
Thank You.