A wxImage cannot (currently) be drawn directly to a \helpref{wxDC}{wxdc}. Instead,
a platform-specific \helpref{wxBitmap}{wxbitmap} object must be created from it using
A wxImage cannot (currently) be drawn directly to a \helpref{wxDC}{wxdc}. Instead,
a platform-specific \helpref{wxBitmap}{wxbitmap} object must be created from it using
returns true if the current image handlers can read this file
\pythonnote{In wxPython this static method is named {\tt wxImage\_AddHandler}.}
returns true if the current image handlers can read this file
\pythonnote{In wxPython this static method is named {\tt wxImage\_AddHandler}.}
(which takes wxImage and depth as its arguments) instead.
\membersection{wxImage::ConvertToMono}\label{wxbitmapconverttomono}
(which takes wxImage and depth as its arguments) instead.
\membersection{wxImage::ConvertToMono}\label{wxbitmapconverttomono}
Note that this method involves computing the histogram, which is
computationally intensive operation.
Note that this method involves computing the histogram, which is
computationally intensive operation.
Number of available images. For most image handlers, this is 1 (exceptions
are TIFF and ICO formats).
Number of available images. For most image handlers, this is 1 (exceptions
are TIFF and ICO formats).
\helpref{wxImage::GetOption}{wximagegetoption},\rtfsp
\helpref{wxImage::GetOptionInt}{wximagegetoptionint}
\helpref{wxImage::GetOption}{wximagegetoption},\rtfsp
\helpref{wxImage::GetOptionInt}{wximagegetoptionint}
\helpref{wxImageHandler}{wximagehandler},
\helpref{wxInitAllImageHandlers}{wxinitallimagehandlers}
\helpref{wxImageHandler}{wximagehandler},
\helpref{wxInitAllImageHandlers}{wxinitallimagehandlers}
be set directly. In that case you will have to get access to the image data
using the \helpref{GetData}{wximagegetdata} method.
be set directly. In that case you will have to get access to the image data
using the \helpref{GetData}{wximagegetdata} method.
\func{}{wxImageHandler}{\void}
Default constructor. In your own default constructor, initialise the members
m\_name, m\_extension and m\_type.
\func{}{wxImageHandler}{\void}
Default constructor. In your own default constructor, initialise the members
m\_name, m\_extension and m\_type.
Number of available images. For most image handlers, this is 1 (exceptions
are TIFF and ICO formats).
Number of available images. For most image handlers, this is 1 (exceptions
are TIFF and ICO formats).
\helpref{wxImage::SaveFile}{wximagesavefile},
\helpref{wxImageHandler::LoadFile}{wximagehandlerloadfile}
\helpref{wxImage::SaveFile}{wximagesavefile},
\helpref{wxImageHandler::LoadFile}{wximagehandlerloadfile}