Supported bitmap file formats

The following lists the formats handled on different platforms. Note that missing or partially-implemented formats are automatically supplemented by the wxImage to load the data, and then converting it to wxBitmap form. Note that using wxImage is the preferred way to load images in wxWidgets, with the exception of resources (XPM-files or native Windows resources). Writing an image format handler for wxImage is also far easier than writing one for wxBitmap, because wxImage has exactly one format on all platforms whereas wxBitmap can store pixel data very differently, depending on colour depths and platform.

wxBitmap

Under Windows, wxBitmap may load the following formats:

Under wxGTK, wxBitmap may load the following formats:

Under wxMotif and wxX11, wxBitmap may load the following formats:

wxIcon

Under Windows, wxIcon may load the following formats:

Under wxGTK, wxIcon may load the following formats:

Under wxMotif and wxX11, wxIcon may load the following formats:

wxCursor

Under Windows, wxCursor may load the following formats:

Under wxGTK, wxCursor may load the following formats (in additional to stock cursors):

Under wxMotif and wxX11, wxCursor may load the following formats:

ymasuda 平成17年11月19日