Crop image based on brightest colour
Posted: 2013-03-24T14:51:35-07:00
Hi all,
I've been looking around the forum for a few hours now to try and find a possible answer to my problem. Haven't found anything... yet.
Problem:
I need to create individual colour swatch images from product images.
1000 x 1000px image of a nail varnish bottle (face on) Sample: http://asda.scene7.com/is/image/Asda/46 ... 0&hei=1000
The images vary in width and height, but all have been trimmed to remove as much white space.
Is it possible (using cmd line) to evaluate the image, find the brightest colour and then crop a 50x50px section and save as new image?
At the moment, I'm cropping the images by hand... only 1660 to go!
Thanks in advance if anyone can help
I've been looking around the forum for a few hours now to try and find a possible answer to my problem. Haven't found anything... yet.
Problem:
I need to create individual colour swatch images from product images.
1000 x 1000px image of a nail varnish bottle (face on) Sample: http://asda.scene7.com/is/image/Asda/46 ... 0&hei=1000
The images vary in width and height, but all have been trimmed to remove as much white space.
Is it possible (using cmd line) to evaluate the image, find the brightest colour and then crop a 50x50px section and save as new image?
At the moment, I'm cropping the images by hand... only 1660 to go!
Thanks in advance if anyone can help