Hi all,
I was wondering if I could receive some help on a topic I am currently trying to solve at work. Basically I am an image manipulator with the job of preparing hundreds and thousands of images for our website; the images must be a set size and must be cropped to include a slight white border around the edge. For example, I may receive hundreds of images that have a product in the center of the image as shown below:
Now what I spend most of my day doing is simply cropping/trimming an image to cut out the area around the red line as shown here:
Now our next project consists of over 20,000 of these images in this exact same state. I know about the Trim tool and I was thinking about the possibility of automating a Trim to take the images down to the very edge of the product and then using a script to add a white border of say 50px all the way around the image. However, I am unsure how I would go about this. Is there a way to do it like that, or is there a script out there already that would allow me to do something similar? As you can imagine the thought of carrying out this process for 20,000 images is a bit daunting so any help or tips will be greatly appreciated!
Thanks
I was wondering if I could receive some help on a topic I am currently trying to solve at work. Basically I am an image manipulator with the job of preparing hundreds and thousands of images for our website; the images must be a set size and must be cropped to include a slight white border around the edge. For example, I may receive hundreds of images that have a product in the center of the image as shown below:
Now what I spend most of my day doing is simply cropping/trimming an image to cut out the area around the red line as shown here:
Now our next project consists of over 20,000 of these images in this exact same state. I know about the Trim tool and I was thinking about the possibility of automating a Trim to take the images down to the very edge of the product and then using a script to add a white border of say 50px all the way around the image. However, I am unsure how I would go about this. Is there a way to do it like that, or is there a script out there already that would allow me to do something similar? As you can imagine the thought of carrying out this process for 20,000 images is a bit daunting so any help or tips will be greatly appreciated!
Thanks
Last edited by a moderator: