I've been tasked with finding a way to automatically crop and colour adjust product images. The images are on a white-ish background with somewhat inconsistent lighting.
Manually, we'd use photoshop to adjust the levels to force the top-left pixel to be white, which would apply the changes to the whole image. Photoshop can do this automatically.
I've just started learning image magick and I've got it to automatically crop the images, which has turned out pretty nice. I've also done -contrast-stretch 0%x75% which has worked somewhat well to brighten up the image.
I'm wondering if image magick (or something similarly automatable) can do something similar to what photoshop does. What I've got now works fairly well, but not as well as what photoshop does. Any ideas?