Answer the question
In order to leave comments, you need to log in
How to find the coordinates of the extreme points of an image?
Hello everyone, the question arose, how to get the extreme points for the image in order to further use it in svg path d?
That is, a picture is loaded, of the form,
and you need to circle it further along the contour.
Thanks in advance for helpful replies and advice.
Answer the question
In order to leave comments, you need to log in
Use InkScape (svg editor), get the outline from the picture and the svg-path will be ready.
Programmatically: construction of connected Bizer curves + border "slider", where the border is transparent / opaque pixels along the image perimeter, in other words: "corrosion" of the contour stroke.
If in PHP - you can use the GD library. (and in general - any language and its means for pixel manipulation with an image)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question