Answer the question
In order to leave comments, you need to log in
How to find the borders of a picture?
I'm not entirely sure about the correctness of the question, but still, how can you find the borders of an image on a transparent background?
I will give Aseprite as an example, he enclosed the lines in a rectangle, and I need to find a way to find the coordinates of this rectangle, you can just say the correct name of this case.
Answer the question
In order to leave comments, you need to log in
I have several options for an answer. To choose an answer, you need to specify the question.
What is there to invent, line by line to run through the pixels until the first line with data comes across. Then back from the bottom end. Well, left to right, too.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question