kpixmapeffect.cpp
static TQImage & dither(TQImage &image, const TQColor *palette, int size)
Dither an image using Floyd-Steinberg dithering for low-color situations.
Definition: kimageeffect.cpp:2261
static TQImage & blend(const TQColor &clr, TQImage &dst, float opacity)
Blends a color into the destination image, using an opacity value for blending one into another.
Definition: kimageeffect.cpp:1067
static TQImage & channelIntensity(TQImage &image, float percent, RGBComponent channel)
Modifies the intensity of a pixmap's RGB channel component.
Definition: kimageeffect.cpp:846
static TQImage & fade(TQImage &image, float val, const TQColor &color)
Fade an image to a certain background color.
Definition: kimageeffect.cpp:2044
static TQImage gradient(const TQSize &size, const TQColor &ca, const TQColor &cb, GradientType type, int ncols=3)
Create a gradient from color a to color b of the specified type.
Definition: kimageeffect.cpp:124
static TQImage & desaturate(TQImage &image, float desat=0.3)
Desaturate an image evenly.
Definition: kimageeffect.cpp:2176
static TQImage & flatten(TQImage &image, const TQColor &ca, const TQColor &cb, int ncols=0)
This recolors a pixmap.
Definition: kimageeffect.cpp:1947
static TQImage & toGray(TQImage &image, bool fast=false)
Convert an image to grayscale.
Definition: kimageeffect.cpp:2126
static TQImage & contrast(TQImage &image, int c)
Fast, but low quality contrast of an image.
Definition: kimageeffect.cpp:2199
static TQImage & selectedImage(TQImage &img, const TQColor &col)
Calculate the image for a selected image, for instance a selected icon on the desktop.
Definition: kimageeffect.cpp:2705
static TQImage & hash(TQImage &image, Lighting lite=NorthLite, unsigned int spacing=0)
Build a hash on any given TQImage.
Definition: kimageeffect.cpp:1866
static TQImage & intensity(TQImage &image, float percent)
Either brighten or dim the image by a specified percent.
Definition: kimageeffect.cpp:654
static TQImage unbalancedGradient(const TQSize &size, const TQColor &ca, const TQColor &cb, GradientType type, int xfactor=100, int yfactor=100, int ncols=3)
Create an unbalanced gradient.
Definition: kimageeffect.cpp:388
static KPixmap & fade(KPixmap &pixmap, double val, const TQColor &color)
Fades a pixmap to a certain color.
Definition: kpixmapeffect.cpp:257
static KPixmap & intensity(KPixmap &pixmap, float ratio)
Either brightens or dims a pixmap by a specified ratio.
Definition: kpixmapeffect.cpp:109
static KPixmap & gradient(KPixmap &pixmap, const TQColor &ca, const TQColor &cb, GradientType type, int ncols=3)
Creates a gradient from color a to color b of the specified type.
Definition: kpixmapeffect.cpp:24
static KPixmap & blend(KPixmap &pixmap, float initial_intensity, const TQColor &bgnd, GradientType eff, bool anti_dir=false, int ncols=3)
Blends the provided pixmap into a background of the indicated color.
Definition: kpixmapeffect.cpp:140
static KPixmap pattern(const KPixmap &pixmap, TQSize size, const TQColor &ca, const TQColor &cb, int ncols=8)
Creates a pattern from a pixmap.
Definition: kpixmapeffect.cpp:223
static KPixmap & hash(KPixmap &pixmap, Lighting lite=NorthLite, unsigned int spacing=0, int ncols=3)
Builds a hash on any given pixmap.
Definition: kpixmapeffect.cpp:179
static KPixmap selectedPixmap(const KPixmap &pixmap, const TQColor &col)
Calculate a 'selected' pixmap, for instance a selected icon on the desktop.
Definition: kpixmapeffect.cpp:318
static KPixmap & toGray(KPixmap &pixmap, bool fast=false)
Converts a pixmap to grayscale.
Definition: kpixmapeffect.cpp:268
static KPixmap & dither(KPixmap &pixmap, const TQColor *palette, int size)
Dithers a pixmap using Floyd-Steinberg dithering for low-color situations.
Definition: kpixmapeffect.cpp:303
static KPixmap & desaturate(KPixmap &pixmap, float desat=0.3)
Desaturates a pixmap.
Definition: kpixmapeffect.cpp:278
static KPixmap createTiled(const KPixmap &pixmap, TQSize size)
Creates a pixmap of a given size with the given pixmap.
Definition: kpixmapeffect.cpp:240
static KPixmap & unbalancedGradient(KPixmap &pixmap, const TQColor &ca, const TQColor &cb, GradientType type, int xfactor=100, int yfactor=100, int ncols=3)
Creates an unbalanced gradient.
Definition: kpixmapeffect.cpp:88
static KPixmap & channelIntensity(KPixmap &pixmap, float ratio, RGBComponent channel)
Modifies the intensity of a pixmap's RGB channel component.
Definition: kpixmapeffect.cpp:121
static KPixmap & contrast(KPixmap &pixmap, int c)
Modifies the contrast of a pixmap.
Definition: kpixmapeffect.cpp:287
bool convertFromImage(const TQImage &img, int conversion_flags)
Converts an image and sets this pixmap.
Definition: kpixmap.cpp:223