Manipulates and converts images between different image formats. Provides the tag <cimg> that makes it is possible to convert, resize, crop and in other ways transform images.
The path to the indata file.
|
Insert images from other sources, e.g. databases through entities or variables.
|
Set this flag to make all image layers visible regardless of their original state.
Comma-separated list of glob expressions which is matched against layer names. All matching layers are made visible regardless of their original state.
Comma-separated list of glob expressions which is matched against layer names. All matching layers are hidden regardless of their original state.
Set this flag to automatically exclude layers that are not shown in the original image. This is only useful in combination with the 'process-all-layers' attribute.
The format to encode the image to. The formats available are:
Acronym | Acronym interpretation |
---|---|
gif | Graphics Interchange Format (might be missing in your roxen) |
jpeg | Joint Photography Expert Group image compression |
png | Portable Networks Graphics |
avs | Advanced Visual Systems Inc. image format |
bmp | Windows BitMaP file |
gd | Internal format used by libgd |
hrz | HRZ is (was?) used for amatuer radio slow-scan TV. |
ilbm | Interchangeable File Format: interleaved bitmap |
pcx | Zsoft PCX file format (PC / DOS) |
pnm | Portable AnyMap |
ps | Adobe PostScript file |
pvr | Pover VR (dreamcast image) |
tga | TrueVision Targa (PC / DOS) |
tiff | Tag Image File Format |
wbf | WAP Bitmap File |
xbm | XWindows Bitmap File |
xpm | XWindows Pixmap File |
|
|
The number of colors to quantizize the image to.
Default for gif is 32(+1 transparent), for most other formats (except black and white) is it unlimited.
|
Choose the dithering method.
Method | Meaning |
---|---|
none | No dithering is performed at all. |
random | Random scatter dither. Not visually pleasing, but it is useful for very high resolution printing. |
floyd-steinberg | Error diffusion dithering. Usually the best dithering method. |
|
|
If present, render a real alpha channel instead of on/off alpha. If the file format only supports on/off alpha, the alpha channel is dithered using a floyd-steinberg dither.
|
|
The color to render the image against.
|
The transparency value to use, 100 is fully opaque, and 0 is fully transparent.
Perform rgb to hsv colorspace conversion.
|
Perform gamma adjustment.
|
|
Perform rgb to greyscale colorspace conversion.
|
Invert all colors
|
Perform hsv to rgb colorspace conversion.
|
Rotate the image clock-wise.
|
Rotate the image counter clock-wise.
Select the unit to use while rotating.
Unit | Meaning |
---|---|
rad | Radians |
deg | Degrees |
ndeg | 'New' degrees (400 for each full rotation) |
part | 0 - 1.0 (1.0 == full rotation) |
Mirror the image around the X-axis.
Mirror the image around the Y-axis.
Scale fact times. (0.5 -> half size, 2.0 -> double size)
|
Scale to the exact size x,y. If either of X or Y is zero, the image is scaled to the specified width or hight, and the value that is zero is scaled in proportion to the other value.
|
If width is larger than 'xsize', scale width to 'xsize' while keeping aspect.
If height is larger than 'ysize', scale height to 'ysize' while keeping aspect.
If width is larger than 'xsize', scale width to 'xsize' while keeping aspect. If width is smaller than 'xsize', extend width to 'xsize' by filling the new space with current background color.
|
If height is larger than 'ysize', scale height to 'ysize' while keeping aspect. If height is smaller than 'ysize', extend height to 'ysize' by filling the new space with current background color.
|
Cut n pixels from the beginning of the X scale.
|
Cut n pixels from the beginning of the Y scale.
Keep n pixels from the beginning of the X scale.
|
Keep n pixels from the beginning of the Y scale.
Crops the image by using several differen methods. The simplest is to only specify the area to be cropped with x,y-x,y coordinates. By instead selecting "auto" the image will be cropped so that as many pixels as possible with the same color is removed from around the image.
A more advanced cropping method can be used by giving the crop argument "guides-cross". The image will then be cropped around the intersection of two guides inside the image. Guides can be added to e.g. Photoshop and GIMP images. If several guides are present, which ones to use can be selected with the guides-index=x,y attribute, where x and y is the number of the guides. Guides cross cropping is usefull together with max-width and max-height attributes when creating thumb nails.
A combination of guides cross cropping can be used by giving the crop argument "guides-region". In this cropping mode the area enclosed by two horizontal and two vertical guides are saved. Which guides to use is given by the guides-index=x1,y1-x2,y2 attribute, where the x and y parameters are the number of the guides. Guides can also be specified as guides-index=x,y. Then the saved area will be the one enclosed by the buides x,y and x+1,y+1, counting from left and top. Again, combine max-width and max-height makes a good effect, since scaling is performed after cropping.
|
Set the quality on the output jpeg image.
|
|
If 0, do not generate optimal tables. Somewhat faster, but produces bigger files.
Generate progressive jpeg images.
Smooth the image while compressing it. This produces smaller files, but might undo the effects of dithering.
Force this number of bits per pixel for bmp images.
Windows or OS/2 mode, default is 1. (windows mode)
RLE 'compress' the BMP image.
Color in the colormap to make transparent for GD-images with alpha channel.
If 1, do not RLE encode the PCX image.
Resolution, in pixels per inch.
Resolution, in pixels per inch.
Resolution, in pixels per inch.
Offset from start of image data to image content for PCX images. Unused by most programs.
Offset from start of image data to image content for PCX images. Unused by most programs.
If 1, do not RLE encode the Targa image.
Dots per inch for the resulting postscript file.