-
- @param width
- Specifies the width of the image.
-
- @param height
- Specifies the height of the image.
-
- @param name
- Name of the file from which to load the image.
-
- @param stream
- Opened input stream from which to load the image. Currently, the stream must
- support seeking.
-
- @param type
- May be one of the following:
-
- wxBITMAP_TYPE_BMP
-
-
- Load a Windows bitmap file.
-
- wxBITMAP_TYPE_GIF
-
-
- Load a GIF bitmap file.
-
- wxBITMAP_TYPE_JPEG
-
-
- Load a JPEG bitmap file.
-
- wxBITMAP_TYPE_PNG
-
-
- Load a PNG bitmap file.
-
- wxBITMAP_TYPE_PCX
-
-
- Load a PCX bitmap file.
-
- wxBITMAP_TYPE_PNM
-
-
- Load a PNM bitmap file.
-
- wxBITMAP_TYPE_TIF
-
-
- Load a TIFF bitmap file.
-
- wxBITMAP_TYPE_TGA
-
-
- Load a TGA bitmap file.
-
- wxBITMAP_TYPE_XPM
-
-
- Load a XPM bitmap file.
-
- wxBITMAP_TYPE_ICO
-
-
- Load a Windows icon file (ICO).
-
- wxBITMAP_TYPE_CUR
-
-
- Load a Windows cursor file (CUR).
-
- wxBITMAP_TYPE_ANI
-
-
- Load a Windows animated cursor file (ANI).
-
- wxBITMAP_TYPE_ANY
-
-
- Will try to autodetect the format.
-
- @param mimetype
- MIME type string (for example 'image/jpeg')
-
- @param index
- Index of the image to load in the case that the image file contains multiple
- images.
- This is only used by GIF, ICO and TIFF handlers. The default value (-1) means
- "choose the default image" and is interpreted as the first image (index=0) by
- the GIF and TIFF handler and as the largest and most colourful one by the ICO
- handler.
-
- @param xpmData
- A pointer to XPM image data.
-
+
+ @param width
+ Specifies the width of the image.
+ @param height
+ Specifies the height of the image.
+ @param name
+ Name of the file from which to load the image.
+ @param stream
+ Opened input stream from which to load the image. Currently, the stream
+ must support seeking.
+ @param type
+ May be one of the following:
+
+
+
+
+
+
+ wxBITMAP_TYPE_BMP
+
+
+
+
+ Load a Windows bitmap file.
+
+
+
+
+
+ wxBITMAP_TYPE_GIF
+
+
+
+
+ Load a GIF bitmap file.
+
+
+
+
+
+ wxBITMAP_TYPE_JPEG
+
+
+
+
+ Load a JPEG bitmap file.
+
+
+
+
+
+ wxBITMAP_TYPE_PNG
+
+
+
+
+ Load a PNG bitmap file.
+
+
+
+
+
+ wxBITMAP_TYPE_PCX
+
+
+
+
+ Load a PCX bitmap file.
+
+
+
+
+
+ wxBITMAP_TYPE_PNM
+
+
+
+
+ Load a PNM bitmap file.
+
+
+
+
+
+ wxBITMAP_TYPE_TIF
+
+
+
+
+ Load a TIFF bitmap file.
+
+
+
+
+
+ wxBITMAP_TYPE_TGA
+
+
+
+
+ Load a TGA bitmap file.
+
+
+
+
+
+ wxBITMAP_TYPE_XPM
+
+
+
+
+ Load a XPM bitmap file.
+
+
+
+
+
+ wxBITMAP_TYPE_ICO
+
+
+
+
+ Load a Windows icon file (ICO).
+
+
+
+
+
+ wxBITMAP_TYPE_CUR
+
+
+
+
+ Load a Windows cursor file (CUR).
+
+
+
+
+
+ wxBITMAP_TYPE_ANI
+
+
+
+
+ Load a Windows animated cursor file (ANI).
+
+
+
+
+
+ wxBITMAP_TYPE_ANY
+
+
+
+
+ Will try to autodetect the format.
+ @param mimetype
+ MIME type string (for example 'image/jpeg')
+ @param index
+ Index of the image to load in the case that the image file contains
+ multiple images.
+ This is only used by GIF, ICO and TIFF handlers. The default value (-1)
+ means
+ "choose the default image" and is interpreted as the first image (index=0)
+ by
+ the GIF and TIFF handler and as the largest and most colourful one by the
+ ICO handler.
+ @param xpmData
+ A pointer to XPM image data.
+