Boost logo

Boost Users :

Subject: Re: [Boost-users] [Gil new_io] Some questions and remarks
From: Christian Henning (chhenning_at_[hidden])
Date: 2010-03-10 10:14:37


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net