[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Image.ImageHelper

ImageHelper Class

Contains platform-independed implementation of methods to extract image info from image stream.

Inheritance
ImageHelper
Namespace: GrapeCity.ActiveReports.Rendering.Image
Assembly: MESCIUS.ActiveReports.Core.Rendering.dll
Syntax
public static class ImageHelper

Methods

Name Description
GetDimensions(Stream)

Gets the dimensions of an BMP, PNG, JPEG or GIF image.

GetExifOrientation(Stream)

Returns Exif orientation of an image, if it is JPEG and has one

GetMimeType(byte[])

Gets the type of an BMP, PNG, JPEG, WMF, EMF, TIFF or GIF image.

GetMimeType(Stream)

Gets the type of an BMP, PNG, JPEG, WMF, EMF, TIFF or GIF image.