Boost logo

Boost Users :

Subject: Re: [Boost-users] Can gil library in boost 1.49 load png palette images?
From: Slava (Viatcheslav.Sysoltsev_at_[hidden])
Date: 2013-11-15 05:13:07


On Fri, 15 Nov 2013 10:17:42 +0100, 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

Sorry for probably off-topic, but, in a nutshell, what is the purpose of
boost::gil in boost? Wouldn't using a specialized library, say
ImageMagick, be a much better alternative?

Regards, Slava


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