[mapserver-dev] Re: Decoupling Image creation from GD

thomas bonfort tbonfort at terriscope.fr
Tue Nov 2 02:46:10 EDT 2010


Paul,
The code in my sandbox does that:
- GD library and structure is used only when working in a PC256 format.
- in RGB/RGBA, agg/cairo have their own memory structure, and there is
custom code in the trunk based on libpng/libjpeg to compress that
memory buffer.

regards,
thomas

On Tue, Nov 2, 2010 at 07:23, Paul Ramsey <pramsey at opengeo.org> wrote:
> Thomas,
> At the last sprint, I think I asked you if there were any plans to
> stop using GD to generate our final JPEG/PNG/etc images. When I look
> at the AGG driver for example, all the work is done against the GD
> image structure, which is finally passed to GD to create the image. I
> vaguely remember at the time you said there was a plan to change to a
> more standard RGBA structure and convert that to JPEG/PNG/etc
> directly. Is that plan still in action or is it a Vague Future Notion?
> Paul
>


More information about the mapserver-dev mailing list