Back to Devexpress

TdxGPImageCodecJPEG Class

vcl-dxgdiplusclasses-7f28dfc3.md

latest2.7 KB
Original Source

TdxGPImageCodecJPEG Class

A Joint Photographic Experts Group (JPEG) image format codec.

Declaration

delphi
TdxGPImageCodecJPEG = class(
    TdxGPImageCodec
)

Remarks

The TdxGPImageCodecJPEG class implements the Joint Photographic Experts Group (JPEG or JPG) image format in DevExpress products. This codec relies on the functionality of the native JPEG encoder from the Windows Imaging Component (WIC).

Main API Members

The list below outlines key members of the TdxGPImageCodecJPEG class that allow you to perform basic operations with images.

Extensions | Description | MimeTypeReturn the implemented format description, associated MIME type, and file name extensions.CanLoadFromBitsAllows you to identify if the codec can load an image from pixel data.QualitySpecifies the JPEG quality level.CanLoadStreamIdentifies whether the specified stream contains supported image data.GetSizeReturns dimensions of an image stored in a stream.CanSaveImageAllows you to check if the codec can save the specified image.Load | SaveLoad and save images.

TdxGPImageCodecJPEG Class References

You can assign a reference to the TdxGPImageCodecJPEG class to a Smart Image container’s ImageCodec property to convert an image in the container to the JPEG format.

Inheritance

TObject TdxSmartImageCodec TdxGPImageCodec TdxGPImageCodecJPEG

See Also

TdxGPImageCodec Class

TdxSVGImageCodec Class

TdxSmartImageCodecClass Type

TdxGPImageCodecJPEG Members

dxGDIPlusClasses Unit