RasterMemoryFlags Enumeration (original) (raw)

Summary

Indicates the type of memory to allocate.

Syntax

C#

Objective-C

C++/CLI

Java

Python

[FlagsAttribute()] public enum RasterMemoryFlags

typedef NS_OPTIONS(NSUInteger, LTRasterMemoryFlags) 

public final class RasterMemoryFlags extends java.lang.Enum<RasterMemoryFlags>

[FlagsAttribute()] public enum class RasterMemoryFlags

class RasterMemoryFlags(Enum): None = 0 Conventional = 1 User = 2 Tiled = 4 NoTiled = 8 Disk = 128 NoDisk = 256 Compressed = 512 SuperCompressed = 1024 WriteableBitmap = 2048

Members

Value Member Description
0x00000000 None No flags.
0x00000001 Conventional Use conventional memory.
0x00000002 User Creates an image where the user maintains the data pointer. Some image processing commands, such as RotateCommand and ColorResolutionCommand, need to re-allocate the image data. If you create a bitmap with RasterMemoryFlags.User, and pass it to these command, they will change the bitmap to RasterMemoryFlags.Conventional and re-allocate memory. Your original memory will no longer be used.
0x00000004 Tiled Creates an image where the data pointers are maintained in tiles, useful for very large images.
0x00000008 NoTiled Do not allow tiled images.
0x00000080 Disk Do not use managed memory. Swap to disk only. If the image is allocated as Disk, then the image cannot be accessed by multiple threads at the same time.
0x00000100 NoDisk Do not swap to disk using LEAD virtual memory. Windows virtual memory is not affected.
0x00000200 Compressed (Document/Medical only) Allocate an RLE-compressed image. You can use this flag with None or NoDisk. For more information, refer to Speeding Up 1-Bit Documents.
0x00000400 SuperCompressed (Document/Medical only) Allocate a CMP-compressed image. You can use this flag with None or NoDisk. The compression used for 24-bit and 8-bit images is lossy, which means multiple changes to the image can produce some visual loss.
0x00000800 WriteableBitmap No longer supported.

Leadtools Assembly

Convert(byte[],int,int,int,int,RasterByteOrder,RasterByteOrder,RasterColor[],RasterColor[],int,int,int,RasterConvertBufferFlags) Method

Convert(byte[],int,int,int,int,RasterByteOrder,RasterByteOrder,RasterColor[],RasterColor[],RasterColor16[],RasterColor16[],int,int,int,RasterConvertBufferFlags) Method

Convert(IntPtr,int,int,int,RasterByteOrder,RasterByteOrder,RasterColor[],RasterColor[],int,int,int,RasterConvertBufferFlags) Method

Convert(IntPtr,int,int,int,RasterByteOrder,RasterByteOrder,RasterColor[],RasterColor[],RasterColor16[],RasterColor16[],int,int,int,RasterConvertBufferFlags) Method