[Thuban-devel] Re: Support for bitmap image formats
Jan-Oliver Wagner
jan at intevation.de
Tue Nov 30 22:42:12 CET 2004
On Mon, Nov 15, 2004 at 06:57:31PM +0100, Martin Schulze wrote:
> Martin Schulze wrote:
> > is there a reason the render engine is limited to support only JPEG
> > and BMP? The wxWidgets library seems to support more image formats,
> > such as commonly used TIFF, PNG, GIF, or less commonly used PNM, PCX,
> > XBM and XPM, just to name some.
> >
> > I've just tested whether the engine can handle PNG, TIFF and GIF,
> > which worked fine. I know that's not a proof, but only a
> > circumstantial evidence.
>
> Here's further research:
>
> <http://www.wxwindows.org/feature2.htm> -- wxWidgets 2 Features
>
> XPM is implemented on Unix and Windows; and PNG is implemented on both.
>
> The wxImage class can load JPEG, TIFF, PCX, GIF, PNM and BMP files and
> can also rotate and scale images. wxImage is a platform-independent
> class with emphasis on loading multiple image formats, whereas
> wxBitmap wraps the appropriate platform-dependent bitmap.
>
> Hence, it should be fine to enable PNG, TIFF and GIF since they
> are supported on both Unix and Windows.
I think the patch is good.
I don't see a reason why not apply it.
Jan
--
Jan-Oliver Wagner http://intevation.de/~jan/
Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)