h2non / imaginary

Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
https://fly.io/docs/app-guides/run-a-global-image-service/
MIT License
5.55k stars 456 forks source link

Resized images quality #341

Closed outlandish closed 3 years ago

outlandish commented 3 years ago

Hi,

I have an issue with using imaginary for the image resize. The problem is resized images are little blurred comparing to the originals, and the less resized size the worse the quality.

I see there was a similar issue in the past: https://github.com/h2non/imaginary/issues/29 I don't quite understand if that behaviour is expected or maybe there is some way or workaround how to fix it.

Here are some examples.

Original:

cover_original

Resized: cover_m

The request I use for resize: /resize?url={imgUrl}&norotation=1&width=768

Thank you and will be appreciate any help.

outlandish commented 3 years ago

Not relevant anymore

rof20004 commented 1 year ago

How did you solve that?