png_get_iCCP documentation bug

Lénárd Szolnoki <[email protected]> Wed, 28 Mar 2018 15:00:14 +0200
Newsgroups gmane.comp.graphics.png.devel
Message-ID <20180328150014.2679de22@lenard-hp>
Hi,

According to libpng.3 about png_get_iCCP(png_ptr, info_ptr, &name,
              &compression_type, &profile, &proflen):

compression_type - The compression type; always
                              PNG_COMPRESSION_TYPE_BASE for PNG 1.0.
                              You may give NULL to this argument to
                              ignore it.

But if NULL is given to this argument then the function returns 0 and
the other output arguments are unchanged as well. It's obvious from the
implementation of this function.

Thanks
Lénárd Szolnoki

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
png-mng-implement mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/png-mng-implement