gd.ImageGIF
generated from ../src/mod_gd/gif.cppA GIF image.
Constants
Constructor
ImageGIF
ImageGIF(Filename)
| Name | Type | Default | Description |
|---|---|---|---|
| Filename | String | The name of a GIF file |
ImageGIF(Buffer)
| Name | Type | Default | Description |
|---|---|---|---|
| Buffer | wxMemoryBuffer | A buffer containing GIF bytes |
ImageGIF(Image)
| Name | Type | Default | Description |
|---|---|---|---|
| Image | Image | An image |
Creates a new ImageGIF object.
When the filename is relative the path will be resolved
to the path of the active script.
Methods
write
write(Filename) : Boolean
| Name | Type | Default | Description |
|---|---|---|---|
| Filename | String |
Writes the image to a file. Returns false when the file can't be opened.
writeToBuffer
writeToBuffer() : wxMemoryBuffer
Writes the image to a buffer.
© 2002 - 2007 Franky Braem.