Hello, i was wondering why the quality of a simple resize is so bad in Hugo. I’ve tried all 4 methods, and was just resizing an image from 1200 to 400px.
This is the output of quality set to 100. De you consider this normal?
Thank you,
Alex
Hello, i was wondering why the quality of a simple resize is so bad in Hugo. I’ve tried all 4 methods, and was just resizing an image from 1200 to 400px.
This is the output of quality set to 100. De you consider this normal?
Thank you,
Alex
Please post a link to the public repository for your site. See:
https://discourse.gohugo.io/t/requesting-help/9132
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick
git clone
on your repo, then runhugo server
in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.
The default image resize filter is chosen for its speed and not quality.
See
Thats why i used all 4 of thems. The best was gaussian, but then again, not much.
There are many more than 4 if you follow the link in the docs.