Image visualization

Functions

void Image.SetTransparentColor (uint Color)
 Sets transparent color for image. More...
 

Properties

tkInterpolationMode Image.DownsamplingMode [get, set]
 The interpolation mode for images which are displayed with the resolution higher than original, i.e. after zoom in (down). More...
 
int Image.DrawingMethod [get, set]
 Gets or sets the drawing method of image. More...
 
bool Image.SetToGrey [get, set]
 A boolean value which indicates whether an image will be displayed using a gray palette. More...
 
uint Image.TransparencyColor [get, set]
 Gets or sets a color which is used as the transparency color for the image. More...
 
uint Image.TransparencyColor2 [get, set]
 Gets or sets a second color which is used as the transparency color for the image. More...
 
double Image.TransparencyPercent [get, set]
 Gets or sets the value which define alpha component of image colors (0.0-1.0). More...
 
tkInterpolationMode Image.UpsamplingMode [get, set]
 The interpolation mode for images which are displayed with the resolution lower than original, i.e. after zooming out (up). More...
 
bool Image.UseTransparencyColor [get, set]
 Gets or sets whether or not the transparency color is being used when the image is displayed. More...
 

Detailed Description

Here is a list of properties that affect the visualization of the image. The properties and methods described here belong to Image class.

dot_inline_dotgraph_10.png

Graph description

Function Documentation

◆ SetTransparentColor()

void Image.SetTransparentColor ( uint  Color)

Sets transparent color for image.

Parameters
ColorNew transparent color.

This is shortcut to set both Image.TransparencyColor and Image.TransparencyColor2. It also set Image.UseSetTranparencyColor to true.

New API 4.9.1:
Added in version 4.9.1

Properties

◆ DownsamplingMode

tkInterpolationMode Image.DownsamplingMode
getset

The interpolation mode for images which are displayed with the resolution higher than original, i.e. after zoom in (down).

◆ DrawingMethod

int Image.DrawingMethod
getset

Gets or sets the drawing method of image.

Was used temporarily while moving from GDI to GDI+ drawing.

Deprecated:
v 4.8. No longer used.

◆ SetToGrey

bool Image.SetToGrey
getset

A boolean value which indicates whether an image will be displayed using a gray palette.

◆ TransparencyColor

uint Image.TransparencyColor
getset

Gets or sets a color which is used as the transparency color for the image.

◆ TransparencyColor2

uint Image.TransparencyColor2
getset

Gets or sets a second color which is used as the transparency color for the image.

All the colors between TransparencyColor and TransparencyColor2 will be transparent. This "between" relation is calculated for each color channel and then the results are combined by AND operation.

◆ TransparencyPercent

double Image.TransparencyPercent
getset

Gets or sets the value which define alpha component of image colors (0.0-1.0).

The values range from 0.0(fully transparent) to 1.0(fully opaque).

◆ UpsamplingMode

tkInterpolationMode Image.UpsamplingMode
getset

The interpolation mode for images which are displayed with the resolution lower than original, i.e. after zooming out (up).

◆ UseTransparencyColor

bool Image.UseTransparencyColor
getset

Gets or sets whether or not the transparency color is being used when the image is displayed.