Hello,

has anyone used the png library? I'm receiving an error "Call to NULL
read function" when calling the png_read_info(). I have initialize the
PNG struct and PNG info structure. I have also called png_init_io and
png_set_sig_bytes() to tell it how many bytes I have already read. I
don't have a read function defined and would like to use the default
read function. I not quite understanding why I'm getting this error.
Please help. Thanks.