Hide Comments
Hide Comments

Comments (0)

Encapsulates the GDI+ Image class. The Image class provides methods for loading and saving raster images (bitmaps) and vector images (metafiles). An Image object encapsulates a bitmap or a metafile and stores attributes that you can retrieve by calling various Get methods. You can construct Image objects from a variety of file types including BMP, ICON, GIF, JPEG, Exif, PNG, TIFF, WMF, and EMF.

To create a VCL TBitmap from the image, call CreateBitmap method. To copy a VCL TBitmap or TGraphic to the image, call Image.Assign(Bitmap) method.

Namespace: RSGdiPlusGraphics

expandingInheritance Hierarchy
expandingSyntax
expandingConstructors
expandingProperties

noteNote

Note that this is a class property and as such an object does not need to be created to access the property

published property

EmbeddedColorManagement

Returns whether the image applies color correction according to color management information that is embedded in the stream. Embedded information can include ICC profiles, gamma values, and chromaticity information.

public propertyClass member

Encoders

Returns an array of all the image encoders supported by GDI+.

Windows GDI+ provides the Image class and the Bitmap class for storing images in memory and manipulating images in memory. GDI+ writes images to disk files with the help of image encoders and loads images from disk files with the help of image decoders. An encoder translates the data in an Image or Bitmap object into a designated disk file format. A decoder translates the data in a disk file to the format required by the Image and Bitmap objects. GDI+ has built-in encoders and decoders that support the following file types:

BMP

GIF

JPEG

PNG

TIFF
 

GDI+ also has built-in decoders that support the following file types:

WMF
 

EMF
 

ICON

noteNote

Note that this is a class property and as such an object does not need to be created to access the property

public property

Flags

Returns a set of flags that indicate certain attributes of this Image object.

public propertyClass member

Gif

Returns the image codec (encoder/decoder) for GIFs

noteNote

Note that this is a class property and as such an object does not need to be created to access the property

public property

Handle

Handle of the graphics object, used by the MS GDI+ flat API routines (Inherited from RSGdiPlusGraphics.TRSGPGraphicsObject.)

public property

Height

Return the height, in pixels, of the image

public property

HorizontalResolution

Returns the horizontal resolution, in dots per inch, of this image.

public property

ImageType

Return the image type (bitmap, metafile, or unknown) of the image

public propertyClass member

Jpeg

Returns the image codec (encoder/decoder) for JPEGs

noteNote

Note that this is a class property and as such an object does not need to be created to access the property

public property

OnChange

Occurs when the graphics object changes.

noteNote

There are two events that are exactly the same, OnChanged and OnChange. The extra event name is to allow easier transition from other Delphi libraries, either the VCL (OnChanged) or FMX (OnChange) libraries. Use either one as needed. Only one event is triggered.

public property

OnChanged

Occurs when the graphics object changes.

noteNote

There are two events that are exactly the same, OnChanged and OnChange. The extra event name is to allow easier transition from other Delphi libraries, either the VCL (OnChanged) or FMX (OnChange) libraries. Use either one as needed. Only one event is triggered.

public property

Owner

Canvas that owns the object. The Canvas will free this graphics object if it is destroyed. However, to keep memory use under control, it is recommended that you free graphics objects when you are finished with them. (Inherited from RSGdiPlusGraphics.TRSGPGraphicsObject.)

public property

PixelFormat

Returns the pixel format of this Image object.

public property

PixelFormatFlags

Returns a set of flags about the pixel format

public propertyClass member

Png

Returns the image codec (encoder/decoder) for PNGs

noteNote

Note that this is a class property and as such an object does not need to be created to access the property

public property

RawFormat

Return a globally unique identifier ( GUID) that identifies the format of this Image object.

public propertyClass member

Tiff

Returns the image codec (encoder/decoder) for TIFFs

noteNote

Note that this is a class property and as such an object does not need to be created to access the property

public property

VerticalResolution

Returns the vertical resolution, in dots per inch, of this image.

public property

Width

Return the width, in pixels, of the image

Top

expandingMethods
expandingFields
expandingSee Also

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2016, Thomas G. Grubb