Christoph M. Becker

Results 597 comments of Christoph M. Becker

> Any ETA? No, sorry. A PR including a regression test would be very welcome!

> […] that maybe the fuzzers should also try emitting images (to /dev/null at least). +1 It also might be beneficial to add fuzzers for (some of) the image manipulation...

> We would like to use 16-bit PNGs on our website, and we would like to draw colored overlays on top of the 16-bit PNGs, probably making them 48-bit PNGs....

FWIW, GD's WebP decoder applies the ICC corrections to the image.

Respective suspended PHP bugtracker ticket: https://bugs.php.net/bug.php?id=53598.

@Nicksxs Basically, you have to read the profile information from the original image, and write it back to the new image. I suppose that is sufficient for some but not...

Actually, the question is **how** to deal with such color profiles: 1. Read them, ignore them during processing, write them back when the image is saved. 2. Read them, apply...

Some perhaps helpful information regarding this issue: https://stackoverflow.com/questions/5773032/how-to-stop-gd2-from-washing-away-the-colors-upon-resizing-images

@azavisha While storing the color profile during read, ignoring it during processing, but writing it back on save, would be easier to implement it seems to me there are two...