This is the image handler for the GIF format.
- See also
- wxImage, wxImageHandler, wxInitAllImageHandlers()
|
| wxGIFHandler () |
| Default constructor for wxGIFHandler. More...
|
|
virtual bool | LoadFile (wxImage *image, wxInputStream &stream, bool verbose=true, int index=-1) |
| Loads an image from a stream, putting the resulting data into image. More...
|
|
virtual bool | SaveFile (wxImage *image, wxOutputStream &stream, bool verbose=true) |
| Saves an image in the output stream. More...
|
|
bool | SaveAnimation (const std::vector< wxImage > &images, wxOutputStream *stream, bool verbose=true, int delayMilliSecs=1000) |
| Save the animated gif. More...
|
|
Public Member Functions inherited from wxImageHandler |
| wxImageHandler () |
| Default constructor. More...
|
|
virtual | ~wxImageHandler () |
| Destroys the wxImageHandler object. More...
|
|
bool | CanRead (wxInputStream &stream) |
| Returns true if this handler supports the image format contained in the given stream. More...
|
|
bool | CanRead (const wxString &filename) |
| Returns true if this handler supports the image format contained in the file with the given name. More...
|
|
const wxString & | GetExtension () const |
| Gets the preferred file extension associated with this handler. More...
|
|
const wxArrayString & | GetAltExtensions () const |
| Returns the other file extensions associated with this handler. More...
|
|
int | GetImageCount (wxInputStream &stream) |
| If the image file contains more than one image and the image handler is capable of retrieving these individually, this function will return the number of available images. More...
|
|
const wxString & | GetMimeType () const |
| Gets the MIME type associated with this handler. More...
|
|
const wxString & | GetName () const |
| Gets the name of this handler. More...
|
|
wxBitmapType | GetType () const |
| Gets the image type associated with this handler. More...
|
|
void | SetExtension (const wxString &extension) |
| Sets the preferred file extension associated with this handler. More...
|
|
void | SetAltExtensions (const wxArrayString &extensions) |
| Sets the alternative file extensions associated with this handler. More...
|
|
void | SetMimeType (const wxString &mimetype) |
| Sets the handler MIME type. More...
|
|
void | SetName (const wxString &name) |
| Sets the handler name. More...
|
|
void | SetType (wxBitmapType type) |
| Sets the bitmap type for the handler. More...
|
|
| wxObject () |
| Default ctor; initializes to nullptr the internal reference data. More...
|
|
| wxObject (const wxObject &other) |
| Copy ctor. More...
|
|
virtual | ~wxObject () |
| Destructor. More...
|
|
virtual wxClassInfo * | GetClassInfo () const |
| This virtual function is redefined for every class that requires run-time type information, when using the wxDECLARE_CLASS macro (or similar). More...
|
|
wxObjectRefData * | GetRefData () const |
| Returns the wxObject::m_refData pointer, i.e. the data referenced by this object. More...
|
|
bool | IsKindOf (const wxClassInfo *info) const |
| Determines whether this class is a subclass of (or the same class as) the given class. More...
|
|
bool | IsSameAs (const wxObject &obj) const |
| Returns true if this object has the same data pointer as obj. More...
|
|
void | Ref (const wxObject &clone) |
| Makes this object refer to the data in clone. More...
|
|
void | SetRefData (wxObjectRefData *data) |
| Sets the wxObject::m_refData pointer. More...
|
|
void | UnRef () |
| Decrements the reference count in the associated data, and if it is zero, deletes the data. More...
|
|
void | UnShare () |
| This is the same of AllocExclusive() but this method is public. More...
|
|
void | operator delete (void *buf) |
| The delete operator is defined for debugging versions of the library only, when the identifier __WXDEBUG__ is defined. More...
|
|
void * | operator new (size_t size, const wxString &filename=nullptr, int lineNum=0) |
| The new operator is defined for debugging versions of the library only, when the identifier __WXDEBUG__ is defined. More...
|
|