pdknsk
pdknsk
Slightly. ``` $ pngquant 1x1.png 1x2.png 2x1.png 2x2.png -vf 1x1.png: 2x2.png: 2x1.png: 1x2.png: read 170KB file read 521KB file read 400KB file mapped image to new colors...MSE=0.095 (Q=99) writing 256-color...
The issue should perhaps be re-opened for buffered error output. In particular for one occurrence, when you supply a file which doesn't exist. The error is printed before the file....
``` diff - pic.use_argb = !!opt->lossless; + pic.use_argb = !!opt->lossless || config.preprocessing > 0; ``` Works well otherwise. (A few additional options have been added since.)
I've updated the patch with the [newest options](https://chromium.googlesource.com/webm/libwebp/+/master/src/webp/encode.h#93). ```Diff diff --git a/PIL/WebPImagePlugin.py b/PIL/WebPImagePlugin.py index bb06928..44ea7c2 100644 --- a/PIL/WebPImagePlugin.py +++ b/PIL/WebPImagePlugin.py @@ -74,6 +74,9 @@ def _save(im, fp, filename): emulate_jpeg_size =...
I've been using `pikepdf` to convert PDFs into a different intermediate format, `protobuf` to be specific. Eventually it's written back into a PDF. I've managed to bypass problem 2 by...
It seems the only way to support this is to introduce an additional option to `pikepdf.open`. Perhaps called `objects_only`, which makes pikepdf produce `pikepdf.Real`, `pikepdf.Null` and others, rather than `float`,...