Bug 770853 - Opening and overwriting a linear gamma png produces wrong colors
Add support for writing linear PNGs. But only if we also save a color profile, otherwise we would get loaders confused. Please test, I might have a knot in my brain... Also clean up some formatting and fix compile warnings, now let's wait for bugs about shit libpng versions which break the build.
Please register or sign in to comment