To use data, pass a non-null pointer as the second argument to the constructor. The filename is ignored in this case, but the "guess image" code uses this to identify identical images and reuse them (nyi)
Public Member Functions | |
| bool | fetch () |
Static Public Member Functions | |
| static SharedImage * | get (const char *name, const uchar *datas=0) |
| static bool | test (const uchar *datas, unsigned size=0) |
| bool gifImage::test | ( | const uchar * | datas, | |
| unsigned | size = 0 | |||
| ) | [static] |
Tests block of data to see if it looks like the start of a .gif file.
©2007 Bill Spitzak and others.