png_get_iCCP() returns 0 for embedded Adobe RGB profile

Dmitry Baryshev <[email protected]> Thu, 28 May 2020 00:03:23 +0300
Newsgroups gmane.comp.graphics.png.devel
Message-ID <CADHrtapo4yyOaS-c2prERtHQK0dy6NAtzmJP7NHmJ-KkJB4Qbg@mail.gmail.com>
Hi!

I have a 32-bit RGBA PNG image with an embedded Adobe RGB profile. It was
saved in Photoshop. I'm trying to extract the profile with libpng-1.6.34 on
Ubuntu 18.04. However, png_get_iCCP() returns 0 w/o any warnings or errors.

I'm able to decode and display the file with libpng w/o any issues. The
only issue is that png_get_iCCP() returns 0.

Am I missing something? Thanks in advance.

The file is available here:
https://drive.google.com/open?id=10yp90Eh05FnvD-eyiduXwQG01y9KZDL8 (18 Mb).

-- Dmitry

_______________________________________________
png-mng-implement mailing list
png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/png-mng-implement