GIFWriter.h 642 B

123456789101112131415161718192021
  1. #ifndef NULLSOFT_BMP_BMPWRITER_H
  2. #define NULLSOFT_BMP_BMPWRITER_H
  3. #include <api/service/svcs/svc_imgwrite.h>
  4. class ifc_xmlreaderparams;
  5. class GIFWriter : public svc_imageWriter
  6. {
  7. public:
  8. static const char *getServiceName() { return "GIF loader"; }
  9. const wchar_t * getImageTypeName() { return L"GIF"; }
  10. const wchar_t * getExtensions() { return L"gif"; }
  11. int setConfig(const wchar_t * item, const wchar_t * value);
  12. int getConfig(const wchar_t * item, wchar_t * value, int valuelen);
  13. int bitDepthSupported(int depth);
  14. void * convert(const void *pixels, int bitDepth, int w, int h, int *length);
  15. protected:
  16. RECVS_DISPATCH;
  17. };
  18. #endif