: Method to find coordinates of where image is cropped Here's my problem: I'm working with a tool that automatically crops an image that i supply to it. I need to find out exactly which coordinates
Here's my problem: I'm working with a tool that automatically crops an image that i supply to it. I need to find out exactly which coordinates of the image does the tool crop?
Right now i used photoshop to find some estimated coords but since i have about 100 different types of images whos cropping coords i need (And very precisely), that's not very practical.
I can supply an estimated bounding box and the real cropping coords should be within ~10 pixels of the box's edges. The box is small, 100x100 pixels at maximum. I'm thinking something along the lines of applying a different colour to every pixel in a demo image, wondering how i can do that in photoshop or if there's a better way.
More posts by @Angela777
1 Comments
Sorted by latest first Latest Oldest Best
Create the image to the size you want to submit
Make a horizontal "Hue" gradient (with value=100%)
Add a layer, make a vertical black to white color gradient, and set layer mode to "Multiply" or ("Value").
Flatten image
You now have an image where Hue and Value are determined by the position of the pixel in the image you submit.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.