Re: Where is info_ptr->pcal_params obtained when reading a PNG file?

Ben Bullock <[email protected]> Sat, 12 Dec 2020 09:15:29 +0900
Newsgroups gmane.comp.graphics.png.devel
Message-ID <CAN5Y6m_ajCX+L2Rc2sd2V6+JJYs2OQsgsvNXERPJ+LXacHg_jA@mail.gmail.com>
On Sat, 12 Dec 2020 at 07:39, Ben Bullock <[email protected]>
wrote:

> I'm trying to improve the support for the pCAL chunk in my Perl module:
>
> https://metacpan.org/release/Image-PNG-Libpng
>
> Writing a very simple round trip test for this chunk, my program had a
> segmentation fault. There is no documentation of the params part of the
> chunk so I went to the source code. A simple "grep" of the source code
> turned up a surprise:
>

Sorry, false alarm, problem solved. It uses png_set_pCAL to set the values.

My pCAL round trip test is here:

https://metacpan.org/source/BKB/Image-PNG-Libpng-0.49_02/t%2FpCAL.t

Results of this and the new eXIf chunk testing will show up here:

http://matrix.cpantesters.org/?dist=Image-PNG-Libpng+0.49_02

Correct reading of the pCAL chunk will appear in version 0.50 of the module.

Sorry about the noise.

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