Bitmap streamer class. More...
#include <ilviews/bitmaps/gif.h>
 
  
| Public Member Functions | |
| IlvGIFStreamer () | |
| Constructor. | |
| IlBoolean | canRead () const | 
| Indicates that the instance can read from a stream.  More... | |
| IlBoolean | canWrite () const | 
| Indicates that the instance can write to a stream.  More... | |
| IlBoolean | checkSignature (const IlUChar *data, IlUInt size) | 
| Checks the signature of the input stream.  More... | |
| IlBoolean | isGIF87Transparent () const | 
| Gets whether a GIF87 image is transparent by default.  More... | |
| IlvBitmapData * | read (std::istream &stream) | 
| Reads a GIF image from a stream.  More... | |
| void | setGIF87Transparent (IlBoolean transparent) | 
| Sets whether a GIF87 image is transparent by default.  More... | |
|  Public Member Functions inherited from IlvBitmapStreamer | |
| virtual void | callReadProgressCallback (IlUInt current, IlUInt max) | 
| Calls the callback for read progression.  More... | |
| virtual void | callWriteProgressCallback (IlUInt current, IlUInt max) | 
| Calls the callback for write progression.  More... | |
| virtual const char * | getName () const | 
| Returns the internal name of the streamer.  More... | |
| IlvQuantizer * | getQuantizer () const | 
| Returns the quantizer used by this streamer.  More... | |
| virtual IlvBitmap * | readBitmap (IlvDisplay *display, std::istream &stream) | 
| Reads IlvBitmap from a stream.  More... | |
| virtual IlvBitmapInformation * | readInfo (std::istream &stream) | 
| Reads information from a stream.  More... | |
| void | setQuantizer (IlvQuantizer *quantizer) | 
| Sets the quantizer used (if needed) by this streamer.  More... | |
| virtual void | setReadProgressCallback (IlvProgressCallback rpCallback, IlAny arg=0) | 
| Sets the callback for read progression.  More... | |
| virtual void | setWriteProgressCallback (IlvProgressCallback wpCallback, IlAny arg=0) | 
| Sets the callback for write progression.  More... | |
| virtual IlBoolean | write (IlvBitmapData *bitmapData, std::ostream &stream) | 
| Writes an IlvBitmapDatato a stream.  More... | |
|  Public Member Functions inherited from IlvValueInterface | |
| virtual IlBoolean | applyValue (const IlvValue &value) | 
| Apply an accessor.  More... | |
| virtual IlBoolean | changeValue (const IlvValue &val) | 
| Changes the value of an accessor.  More... | |
| virtual IlBoolean | changeValues (const IlvValue *values, IlUShort count=0) | 
| Changes several accessor values simultaneously.  More... | |
| virtual void | getAccessors (const IlSymbol *const **names, const IlvValueTypeClass *const **types, IlUInt &count) const | 
| Retrieves the list of available accessors of an object.  More... | |
| virtual IlvValue & | queryValue (IlvValue &val) const | 
| Retrieves an accessor value.  More... | |
| virtual void | queryValues (IlvValue *values, IlUShort count) const | 
| Retrieves multiple accessor values simultaneously.  More... | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from IlvBitmapStreamer | |
| static IlvBitmapStreamer * | Get (const char *name) | 
| Returns a streamer from its name.  More... | |
| static IlvBitmapStreamer ** | GetRegisteredStreamers (IlUInt &count) | 
| Returns the registered streamers.  More... | |
| static IlvBitmap * | Read (IlvDisplay *display, std::istream &stream, const IlUChar *signature, IlUInt signatureLen) | 
| Reads a bitmap using the registered streamers.  More... | |
| static IlvBitmapData * | ReadBitmapData (std::istream &stream, const IlUChar *signature, IlUInt signatureLen) | 
| Reads bitmap data using the registered streamers.  More... | |
| static IlvBitmapInformation * | ReadInfo (std::istream &stream, const IlUChar *signature, IlUInt signatureLen) | 
| Reads bitmap information using the registered streamers.  More... | |
| static void | Register (IlvBitmapStreamer *streamer) | 
| Registers the given streamer.  More... | |
| static IlBoolean | UnRegister (IlvBitmapStreamer *streamer) | 
| Unregisters the given streamer.  More... | |
Bitmap streamer class.
Library: ilvgif
This streamer provides methods to deal with a stream containing a Compuserve GIF image.
This streamer can only read images, but is unable to save them.
| 
 | virtual | 
Indicates that the instance can read from a stream.
IlTrue. Reimplemented from IlvBitmapStreamer.
| 
 | virtual | 
Indicates that the instance can write to a stream.
IlFalse: there is no means to serialize an image using the GIF format with Rogue Wave Views. Reimplemented from IlvBitmapStreamer.
Checks the signature of the input stream.
| data | The data containing the signature of the stream. | 
| size | The size of the data containing the signature. | 
IlTrue if the data contains a GIF signature. Implements IlvBitmapStreamer.
| IlBoolean IlvGIFStreamer::isGIF87Transparent | ( | ) | const | 
Gets whether a GIF87 image is transparent by default.
IlTrue if the image is transparent. | 
 | virtual | 
Reads a GIF image from a stream.
| stream | The stream to read from. | 
Reimplemented from IlvBitmapStreamer.
| void IlvGIFStreamer::setGIF87Transparent | ( | IlBoolean | transparent | ) | 
Sets whether a GIF87 image is transparent by default.
| transparent | IlTrueif the image is transparent. |