Boost logo

Boost Users :

Subject: Re: [Boost-users] Can gil library in boost 1.49 load png palette images?
From: Christian Henning (chhenning_at_[hidden])
Date: 2013-11-15 10:30:40


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_at_[hidden]>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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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