guardian / grid

The Guardian’s image management system
https://www.theguardian.com/info/developer-blog/2015/aug/12/open-sourcing-grid-image-service
Apache License 2.0
1.44k stars 121 forks source link

Cropping PNG fails #4017

Open paperboyo opened 1 year ago

paperboyo commented 1 year ago

Investigate dropping transparency on attached PNG. feathers2 (332505a23276c9864c4cf6e79da8137b21db5ab0).png.zip

I suspect IM version (my local is OK with a simple resize).

tonytw1 commented 1 month ago

This is still an issue. And is reproducible using the supplied example image. Aside - imgproxy can render the transparency correctly when used as the preview renderer, but im is still the crop renderer.

paperboyo commented 1 month ago

Ya. Can’t remember well, but at least some older version of VIPS we tested (with this) also couldn’t deal with this pic. TBH, we haven’t seen many (any) more examples in the wild.