I want the algorithm to crop the image where to start

I want to analyze the content of a jepg image. I want to take a jpeg image of say 251 x 261 and pass it through an algorithm to crop it to say 96 x 87. Like the smart cropping algorithm, with a hint to resize the image.

+2


source to share


2 answers


Cropping and resizing are completely different operations and your question sounds like you don't know what you want.



I can't tell you where you are working with your process, but maybe getting and using ImageMagick might come in handy .

+4


source


If you are using .NET try using this.



System.Drawing.Image.GetThumbnailImage

0


source







All Articles