←Select platform

CodecsLoadByteOrder Enumeration

Summary
Indicates the desired byte order when loading image files.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public enum CodecsLoadByteOrder   
typedef NS_ENUM(NSInteger, LTCodecsLoadByteOrder) { 
 LTCodecsLoadByteOrderRgb = 0,  
 LTCodecsLoadByteOrderBgr = 1,  
 LTCodecsLoadByteOrderGray = 2,  
 LTCodecsLoadByteOrderRgbOrGray = 3,  
 LTCodecsLoadByteOrderBgrOrGray = 4,  
 LTCodecsLoadByteOrderRomm = 5,  
 LTCodecsLoadByteOrderBgrOrGrayOrRomm = 6,  
}; 
public enum CodecsLoadByteOrder 
public enum class CodecsLoadByteOrder   
class CodecsLoadByteOrder(Enum): 
   Rgb = 0 
   Bgr = 1 
   Gray = 2 
   RgbOrGray = 3 
   BgrOrGray = 4 
   Romm = 5 
   BgrOrGrayOrRomm = 6 
Members
ValueMemberDescription
0RgbRed-green-blue order.
1BgrBlue-green-red order.
2Gray12 or 16-bit grayscale image.
3RgbOrGrayLoad the image as red, green, blue OR as a 12 or 16-bit grayscale image.
4BgrOrGrayLoad the image as blue, green, red OR as a 12 or 16-bit grayscale image.
5RommROMM order. ROMM only supports 24 and 48-bit images.
6BgrOrGrayOrRommLoad the image as red, green, blue OR as a 12 or 16-bit grayscale image OR as ROMM. ROMM only supports 24 and 48-bit color images.
Requirements

Target Platforms

See Also

Reference

Leadtools.Codecs Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.