FLIF-hub / FLIF

Free Lossless Image Format
Other
3.72k stars 229 forks source link

flif decoder does not ignore libpng warnings #521

Open piktaszuikis opened 6 years ago

piktaszuikis commented 6 years ago

When I'm decoding flif image to png, I'm getting a libpng error:

$ flif -d image.flif output.png
libpng error: known incorrect sRGB profile
Nutraukta (aborted) (core dumped)

Google says, that "libpng error: known incorrect sRGB profile" is not really an error, but rather a warning. IMHO flif should treat it as such too.