OK Thank you very much, later I will try the new IO lib.

Best regards,
Guangchao


On Fri, Nov 15, 2013 at 11:30 PM, Christian Henning <chhenning@gmail.com> wrote:
Hi Guangchao,

you can try the new IO lib which currently lives inside boost trunk. It should be able to read PNG_COLOR_TYPE_PALETTE.

Let me know if you have any issues.

Thanks,
Christian




On Fri, Nov 15, 2013 at 4:17 AM, Guangchao Wang <guangchao0831@gmail.com> wrote:
I'm tried to load a png which can be found in the attachment, I find the color of this png is PNG_COLOR_TYPE_PALETTE and its depth is 8, I reviewed the code of png_io_private.hpp and found that no such type of PNG is supported.

Can you give me some help about how to load such PNG with boost.gil library?

Thank you very much.

Best,
Guangchao

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users


_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users