[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Document.Utility.ImageHelper.GetDimensions

GetDimensions Method

GetDimensions(BinaryReader)

Reads image dimensions and metadata from the given binary stream.

Declaration
public static ImageHelper.DecodeImageResult GetDimensions(BinaryReader reader)
Parameters
Type Name Description
BinaryReader reader

A BinaryReader positioned at the start of the image data.

Returns
Type Description
ImageHelper.DecodeImageResult

A ImageHelper.DecodeImageResult containing width, height, DPI, format, and EXIF orientation.