How to C#: Imaging
Using Imaging SDK for C#.NET
Winforms Controls
Image Load
Image Access and Modify
Image Information
Image Information
  |  
Home ›› XImage.Raster ›› C# Raster: Raster Image Information

How to C#: Raster Image Information


With XImage.Raster, you can get the image formation




Overview



When load image into RasterImage object, the information of the image will be set




Get Loaded Image Information in C#



Once an image has been loaded in to an RasterImage object, information about the image is available through the properties and methods of the RasterImage object.


Read only Properties:


  PageCount: The count of the picture frames.


  Width: This parameter is an array used to record the width of each image frame, the unit is pixel.


  Height: This parameter is an array used to record the height of each image frame, the unit is pixel.


  HResolution: This parameter is a double array use to record horizontal resolution of each image frame, you can get the page by index starting at zero.


  VResolution: This parameter is a double array use to record vertical resolution of each image frame, you can get the page by index starting at zero.


  ColorSpace: This parameter is used to record color space, please refer to ColorSpace Site.


  Compression: The compression method of the image, please refer to Compression Enumeration.


  Format: The format of the image.


  Palette: If the image is index, you can get the value by Palette of the image. If not, it will be null.