LEADTOOLS (Leadtools assembly)

RasterMemoryFlags Enumeration

Show in webframe







Indicates the type of memory to allocate.
Syntax
'Declaration
 
<FlagsAttribute()>
Public Enum RasterMemoryFlags 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As RasterMemoryFlags
[FlagsAttribute()]
public enum RasterMemoryFlags : System.IComparableSystem.IConvertibleSystem.IFormattable  

            

            
Leadtools.RasterMemoryFlags = function() { };
Leadtools.RasterMemoryFlags.prototype = {
None = 0x0000, Conventional = 0x0001, User = 0x0002, Tiled = 0x0004, NoTiled = 0x0008, Disk = 0x0080, NoDisk = 0x0100, Compressed = 0x0200, SuperCompressed = 0x0400, WriteableBitmap = 0x0800, };
[FlagsAttribute()]
public enum class RasterMemoryFlags : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x0000NoneNo flags.
0x0001ConventionalUse conventional memory.
0x0002UserCreates an image where the user maintains the data pointer.

Some image processing commands, such as Leadtools.ImageProcessing.RotateCommand and Leadtools.ImageProcessing.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.

0x0004TiledCreates an image where the data pointers are maintained in tiles, useful for very large images.
0x0008NoTiledDo not allow tiled images.
0x0080DiskDo not use managed memory. Swap to disk only. If the image is allocated as Disk, then the image should not be used in multiple threads.
0x0100NoDiskDo not swap to disk using LEAD virtual memory. Windows virtual memory is not affected.
0x0200Compressed(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.
0x0400SuperCompressed(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.
0x0800WriteableBitmap(Document/Medical only) Use a Silverlight WriteableBitmap for memory storage.
This option works only for 32-bit images..
Remarks
For more information, refer to Memory Storage Types for Images. Use only RasterMemoryFlags.Conventional or RasterMemoryFlags.Disk when setting defaults.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.RasterMemoryFlags

Requirements

Target Platforms

See Also

Reference

Leadtools Namespace

 

 


Products | Support | Contact Us | Copyright Notices

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