ImageUtils Class
Utilities for manipulating images.
Syntax
Namespace: FlexCel.Core
public static class ImageUtils
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(Byte[]) GetImageType(Stream) GetImageType(Byte[], Int32) |
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. |