davidbyttow / govips

A lightning fast image processing and resizing library for Go
MIT License
1.23k stars 196 forks source link

Getting improper image size as different from aspect ratio 4x3 #432

Open rjdugar opened 3 months ago

rjdugar commented 3 months ago

I am passing params as : "params": { "aspectRatio": "4:3", "height": 1024, "width": 768 }

But vips NewImageFromReader is returning Width": 576, "Height": 1024,

rjdugar commented 3 months ago

Please let me know if more information is required

tonimelisma commented 3 months ago

Hey @rjdugar. Have you tried the examples we have provided as part of the repository? I'm terribly sorry but we don't have any paid employees to help people utilize the library or troubleshoot issues, especially in light of the fact that most issues seem to come not from the library but from users' environment or usage.