#ifndef __NOPACITY_IMAGEMAGICKWRAPPER_H #define __NOPACITY_IMAGEMAGICKWRAPPER_H #define X_DISPLAY_MISSING #include #include using namespace Magick; class cImageMagickWrapper { public: cImageMagickWrapper(); ~cImageMagickWrapper(); protected: Image buffer; Color Argb2Color(tColor col); cImage *CreateImage(int width, int height, bool preserveAspect = true); cImage CreateImageCopy(void); bool LoadImage(const char *fullpath); }; #endif