LEAD Technologies, Inc

A Special Note about Loading 12 and 16 Bit Grayscale Images

If the image to be loaded is 12, 16 or 32-bit grayscale and 0 is passed for the parameter that controls the number of bits per pixel at which to load the image, then if Leadtools.RasterSupportType.ExtGray support is locked, the image will be loaded as 8-bit grayscale, instead of the original bits per pixel.

To load a raw 12- and 16-bit extended grayscale image, set the Codecs.InformationEventArgs.Order property to RasterByteOrder.Gray and the CodecsLoadInformationEventArgs.LeastSignificantBitFirst Property accordingly. For signed image data, set the CodecsLoadInformationEventArgs.Signed property to true.

For more information on Leadtools.RasterSupportType.ExtGray support, refer to Leadtools.RasterSupport and Leadtools.RasterSupport.SetLicense(System.Byte[],System.String).

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.