29 #include <tdelibs_export.h>
31 const int KColorMode_Mask = 0x00000300;
32 const int WebOnly = 0x00000200;
33 const int LowOnly = 0x00000300;
57 class TDEFX_EXPORT
KPixmap :
public TQPixmap
151 bool convertFromImage(
const TQImage &img,
int conversion_flags );
161 bool convertFromImage(
const TQImage &img, ColorMode mode = WebColor );
181 bool load(
const TQString& fileName,
const char *format,
182 int conversion_flags );
194 bool load(
const TQString& fileName,
195 const char *format = 0,
196 ColorMode mode = WebColor );
207 bool checkColorTable(
const TQImage &image);
Off-screen paint device with extended features.
KPixmap()
Constructs a null pixmap.
GradientMode
This enumeration provides a gradient mode specification.
ColorMode
This enumeration provides a color pallete specification.
@ LowColor
3x3x3 color cube (or monochrome)
@ Auto
Convert to monochrome if possible.
@ Color
Native display depth.