rosell-dk / webp-convert

Convert jpeg/png to webp with PHP (if at all possible)
MIT License
580 stars 102 forks source link

Documentation: Fix incorrect range for near-lossless compression #294

Closed joppuyo closed 3 years ago

joppuyo commented 3 years ago

On the "near-lossless" option, the documentation says the range is 0 (no preprocessing) to 100 (maximum preprocessing) so I set it to 0. Then I started wondering why all my WebPs look so blurry even if they are supposed to be lossless. 😅

Turns out there was a typo with this particular documentation, the real range is 0 (maximum preprocessing) to 100 (no preprocessing), per WebP documentation.

There's another mention of the option here but the range is the right way around in that instance.

joppuyo commented 3 years ago

Found another reference to the near-lossless option where the range is wrong. I'm not sure where the text is visible, but I fixed it anyway.

rosell-dk commented 3 years ago

thanks!