|
|
@ -9,9 +9,6 @@ |
|
|
|
#define __NODE_IMAGE_H__ |
|
|
|
|
|
|
|
#include "Canvas.h" |
|
|
|
#ifdef HAVE_GIF |
|
|
|
#include <gif_lib.h> |
|
|
|
#endif |
|
|
|
|
|
|
|
class Image: public node::ObjectWrap { |
|
|
|
public: |
|
|
@ -76,15 +73,4 @@ class Image: public node::ObjectWrap { |
|
|
|
~Image(); |
|
|
|
}; |
|
|
|
|
|
|
|
#ifdef HAVE_GIF |
|
|
|
struct GIFInputFuncData { |
|
|
|
uint8_t *buf; |
|
|
|
unsigned int length; |
|
|
|
unsigned int cpos; |
|
|
|
}; |
|
|
|
|
|
|
|
int readGIFFromMemory(GifFileType *gft, GifByteType *buf, int length); |
|
|
|
int getGIFTransparentColor(GifFileType *gft, int framenum); |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif |
|
|
|