
10 Mar
2010
10 Mar
'10
3:14 p.m.
Hi there,
How do someone handles interlacing in png new_io?
Reading interlaced images is dealt with under the hood. The code is reading the png header and figures out the number of passes. All png test images that are interlaces can be read without any problems. When writing a png image you can set either use PNG_INTERLACE_ADAM7 or PNG_INTERLACE_NONE. libpng will take care of the rest, as far as I remember. Hope this helps, Christian