Table of Contents

TImageUtils Record

Utilities for manipulating images.

Syntax

Unit: FlexCel.Core

TImageUtils = record;

Methods

Name Description
StripOLEHeader Access stores images encapsulated on an OLE container. This function will load an OLE image and try to return the raw image data.
GetImageType Overloaded
GetImageType(TBytes)
GetImageType(TStream)
GetImageType(TBytes, Integer)
GetJPEGOrientation This function returns the orientation specific to a JPEG file. FlexCel will automatically rotate the images you add with AddImage (same as Excel does), but it will not rotate the images you enter in the headers/footers or if you replace an existing image. In those cases, you can use this method to know if the image needs to be rotated before entering it.