Leadtools.Jpeg2000 Namespace > Jpeg2000Engine Class > Load Method : Load(RasterCodecs,String,Int32,CodecsLoadByteOrder) Method |
Color order for 16-, 24-, 32-, 48-, and 64-bit images. If the resulting image is less than 16 bits per pixel, this will have no effect since palletized images do not use color order. Possible values are:
Value | Meaning |
---|---|
CodecsLoadByteOrder.Rgb | Red, green, and blue color order in memory |
CodecsLoadByteOrder.Bgr | Blue, green, and red color order in memory |
CodecsLoadByteOrder.Gray | 12- or 16-bit grayscale image. 12- and 16-bit grayscale images are supported only in the Document/Medical Imaging editions. |
CodecsLoadByteOrder.RgbOrGray | Load the image as red, green, blue OR as a 12- or 16-bit grayscale image. 12- and 16-bit grayscale images are supported only in the Document/Medical Imaging editions. |
CodecsLoadByteOrder.BgrOrGray | Load the image as blue, green, red OR as a 12- or 16-bit grayscale image. 12- and 16-bit grayscale images are supported only in the Document/Medical Imaging editions. |
CodecsLoadByteOrder.Romm | ROMM order. ROMM only supports 24- and 48-bit images. |
CodecsLoadByteOrder.BgrOrGrayOrRomm | Load the image as red, green, blue OR as a 12- or 16-bit grayscale image OR as ROMM. 12- and 16-bit grayscale images are supported only in the Document/Medical Imaging editions. ROMM only supports 24- and 48-bit color images. |
public RasterImage Load( RasterCodecs codecs, string fileName, int bitsPerPixel, CodecsLoadByteOrder order )
'Declaration Public Overloads Function Load( _ ByVal codecs As RasterCodecs, _ ByVal fileName As String, _ ByVal bitsPerPixel As Integer, _ ByVal order As CodecsLoadByteOrder _ ) As RasterImage
'Usage Dim instance As Jpeg2000Engine Dim codecs As RasterCodecs Dim fileName As String Dim bitsPerPixel As Integer Dim order As CodecsLoadByteOrder Dim value As RasterImage value = instance.Load(codecs, fileName, bitsPerPixel, order)
public RasterImage Load( RasterCodecs codecs, string fileName, int bitsPerPixel, CodecsLoadByteOrder order )
function Leadtools.Jpeg2000.Jpeg2000Engine.Load(RasterCodecs,String,Int32,CodecsLoadByteOrder)( codecs , fileName , bitsPerPixel , order )
public: RasterImage^ Load( RasterCodecs^ codecs, String^ fileName, int bitsPerPixel, CodecsLoadByteOrder order )
Color order for 16-, 24-, 32-, 48-, and 64-bit images. If the resulting image is less than 16 bits per pixel, this will have no effect since palletized images do not use color order. Possible values are:
Value | Meaning |
---|---|
CodecsLoadByteOrder.Rgb | Red, green, and blue color order in memory |
CodecsLoadByteOrder.Bgr | Blue, green, and red color order in memory |
CodecsLoadByteOrder.Gray | 12- or 16-bit grayscale image. 12- and 16-bit grayscale images are supported only in the Document/Medical Imaging editions. |
CodecsLoadByteOrder.RgbOrGray | Load the image as red, green, blue OR as a 12- or 16-bit grayscale image. 12- and 16-bit grayscale images are supported only in the Document/Medical Imaging editions. |
CodecsLoadByteOrder.BgrOrGray | Load the image as blue, green, red OR as a 12- or 16-bit grayscale image. 12- and 16-bit grayscale images are supported only in the Document/Medical Imaging editions. |
CodecsLoadByteOrder.Romm | ROMM order. ROMM only supports 24- and 48-bit images. |
CodecsLoadByteOrder.BgrOrGrayOrRomm | Load the image as red, green, blue OR as a 12- or 16-bit grayscale image OR as ROMM. 12- and 16-bit grayscale images are supported only in the Document/Medical Imaging editions. ROMM only supports 24- and 48-bit color images. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Jpeg2000Engine Class
Jpeg2000Engine Members
Overload List
AppendFrames
Load(RasterCodecs, Stream, Int32, CodecsLoadByteOrder)
LoadComposite
ReadFrames
Save
SaveComposite
Compression Using LEAD and JPEG Formats
File Formats - JPEG And LEAD Compressed
Bitmaps In Memory And In Files
JPEG2000 File Comments
JPEG And LEAD File Comments
Programming with JPEG 2000 Features
JPEG 2000 Boxes