Closed pixelschrubber closed 10 years ago
I can't reproduce it in the current version:
Thank you for your rapid response. I didn't expect that :-) I tested this on different environments (OSX, Ubuntu Linux) with the newest pngquant version 2.3.1. The libpng was old, but I built it again with 1.6.13. Afterwards I tested again and got the following results: Original image: Simple conversion (pngquant fade-test.png) resulted in fade-test-fs8.png (which looks fine): Conversion without Floyd-Steinberg (pngquant --nofs fade-test.png) resulted in fade-test-or8.png: In the second converted image (fade-test-or8.png) one can see the different steps, which are generated. Is there a way of using the algorithm without Floyd-Steinberg but with a smooth gradient?
No, the steps are a limitation of the file format. You can control amount of dithering with --floyd=0.5
.
Thank you!
When converting images with large areas of colorfade to transparent pngquant will generate images with stepped parts of the semi-transparent color. Example: Optimizing by using pngquant 2.0.1 with params "--nofs --speed 3" I get this result: Tried different params, same result. How could one keep the colored fade to transparent without steps?