Results 1568 comments of John Cupitt

Hi @FridayJew, can you explain the behaviour you need? Show a sample input image, desired output, and the operations you have tried to use.

Yes, it should do that -- in the default mode, it'll shrink to 1 pixel tiles. ``` john@kiwi:~/pics$ vipsheader k2.jpg k2.jpg: 1450x2048 uchar, 3 bands, srgb, jpegload john@kiwi:~/pics$ vips dzsave...

Try `"depth" => "onepixel"`.

`skip_blanks` should work. You'll need to post an example of it failing.

Oh, you want more detailed levels? You could enlarge the image before making the pyramid. Is this a vector source, like SVG, or are you trying to pyramid a bitmap?

Yes, `skip_blanks` is a more recent feature. libvips 8.5 is from 2016.

Ooop, I'd forgotten this PR, sorry. Should we fix this up and release as 2.1? It might be useful to get something like this patch in too (look for libvips...

That all looks great! I'll make 2.1.

Ack I'm always doing that, the behaviour is so confusing, sorry.

Hello @derklempner, The PNG writer is supposed to automatically drop incompatible profiles. Do you have an example image where this fails? You can set `strip` in `write_to_file` with: ```php $image->writeToFile("somename.png",...