←Select platform

RasterImage Class Members

Summary

The following tables list the members exposed by RasterImage.

Protected Constructors

Name Description
RasterImage This constructor is required by ISerializable.

Public Methods

Name Description
Access Provides exclusive access to the image data contained in this RasterImage.
AccessData Provides exclusive access to the image data contained in this RasterImage.
AddBeziersToRegion Creates or updates the image region by adding a Bézier region.
AddBorderToRegion Creates a region of pixels with values that fall within a range defined by the value of a specific pixel and a lower and upper tolerance value but are not equal to the _borderColor_.
AddColorHsvRangeToRegion Creates or updates the image region by adding a region that consists of all the pixels that fall in the given HSV color range.
AddColorRgbRangeToRegion Creates or updates the image region by adding a region that consists of all the pixels that fall in the given RGB color range.
AddColorToRegion Creates or updates the image region by adding a region that consists of all the pixels of a specified color.
AddCurveToRegion Creates or updates the image region by adding a curved region.
AddEllipseToRegion Creates or updates the image region by adding an elliptical region.
AddMagicWandToRegion Sets a region based on the color found at point x, y in the image.
AddMaskToRegion Creates or updates the image region by adding a region that consists of all the white pixels in a 1-bit mask image.
AddPage Adds a new page to this RasterImage.
AddPages Adds one or more images to this RasterImage.
AddPolygonToRegion Creates or updates the image region by adding a polygonal region.
AddRectangleToRegion Creates or updates the image region by adding a rectangular region.
AddRoundRectangleToRegion Creates or updates the image region by adding a rounded rectangular region.
CalculatePaintModeRectangle Adjusts the given rectangle based on the given paint mode properties.
CalculateRegionArea Gets the total number of pixels in the image region.
CalculateRegionMaximumClipSegments Gets the number of elements required to hold the clip segments for any row in the region.
ChangeCompression Compresses or decompresses this RasterImage.
ChangeFromDib Changes a Windows device independent bitmap (DIB) to a LEAD RasterImage object.
ChangeHeight Increases or decreases the allocated height of an image.
ChangeToDib Changes a LEAD RasterImage object to a Windows Device Independent Bitmap (DIB).
ChangeViewPerspective Rotates and flips the image data as necessary to achieve the desired view perspective.
Clone Creates a new RasterImage object by copying an area of this RasterImage.
CloneAll Creates an exact copy of this RasterImage.
CopyData Updates the data of this RasterImage.
CopyMetadataTo Copies the metadata (tags, comments, and markers) to the given image.
CopyPaletteTo Copies the palette of this RasterImage into a destination image.
Create Creates a new RasterImage using the specified parameters.
CreateAlphaImage Creates a grayscale image from this RasterImage alpha channel data.
CreateFromArray Constructs a new RasterImage object using the specified parameters and optional managed memory.
CreateFromBuffer Creates a new RasterImage using the specified parameters.
CreateFromIntPtr Creates a new RasterImage using the specified parameters.
CreateFromYUVData Creates a new RasterImage using the specified parameters and fills the image using the specified YUV data.
CreateGrayscale Creates a new grayscale RasterImage using the specified parameters.
CreateMaskFromRegion Creates a 1-bit mask image from the region that is defined in the image.
CreateThumbnail Creates a thumbnail image of this RasterImage.
DisableEvents Disables raising the Changed event.
DitherLine Used in a loop, dithers the line in a specified unmanaged memory input buffer, and writes it to an unmanaged memory output buffer.
EnableEvents Enables raising the Changed event.
FlipRegion Flips the image region (top to bottom).
FlipViewPerspective Flips this RasterImage image by changing its ViewPerspective.
FromDib Creates a new image from the specified Windows device independent bitmap (DIB) stored in an unmanaged pointer.
FromDibArray Creates a new image from the specified Windows device independent bitmap (DIB) stored in a managed array.
FromDibPtr Creates a new image from the specified Windows device independent bitmap (DIB) stored in an unmanaged pointer.
GetImageHeightDpi Gets the height of this RasterImage in pixels, taking ViewPerspective and YResolution into account.
GetImageSizeDpi Gets the size in pixels of this RasterImage object, taking YResolution into account.
GetImageWidthDpi Gets the width of this RasterImage in pixels, taking ViewPerspective and XResolution into account.
GetLookupTable Gets the 8-bit lookup table (LUT) of this RasterImage.
GetLookupTable16 Gets the 16-bit lookup table (LUT) of this RasterImage.
GetObjectData Populates a specified SerializationInfo with the data needed to serialize this object.
GetOverlayAttributes Gets one or more overlay attributes for the specified index.
GetOverlayImage Gets the overlay image for the specified index.
GetPaintLookupTable For internal use by LEADTOOLS.
GetPaintLookupTable16 For internal use by LEADTOOLS.
GetPalette Gets a copy of the palette of this RasterImage object that will be used by 1-8 bit color or grayscale image.
GetPixel Returns the color of the specified pixel.
GetPixelColor Returns the color of the specified pixel.
GetPixelData Copies the pixel data of the specified pixel into an unmanaged memory buffer.
GetRegion Gets the RasterRegion object that describes this RasterImage current region.
GetRegionBounds Gets the bounding rectangle of the image region.
GetRegionBoundsClipped Gets the bounding rectangle of the image region.
GetRegionClipSegments Gets the segments contained in the region for a particular row.
GetRow Retrieves one or more rows of image data from this RasterImage into a managed memory buffer.
GetRowColumn Accepts a column offset to retrieve data from an image and place it in a buffer.
GetRowColumnCompressed Retrieves a row (or part of a row) of 1-bit compressed data from an image that has been loaded in its compressed format.
GetRowCompressed Retrieves one or more rows of 1-bit compressed data from an image that has been loaded in its compressed format.
GetTrueColorValue Gets the true (RGB) value of the specified color based on the current image palette.
GetYUVData Converts the RasterImage grayscale or BGR data to YUV and stores it in an output buffer.
InsertPage Inserts a new page into this RasterImage.
InsertPages Inserts one or more pages into this RasterImage.
MakeRegionEmpty Removes the region from the image and frees the memory used for the region.
OffsetRegion Moves the image region by the specified number of rows and columns.
OnChanged Raises the Changed event.
PointFromImage Translates a point (x,y) from this RasterImage view perspective to the specified view perspective.
PointToImage Translates a point (x,y) from the specified view perspective to this RasterImage view perspective.
RectangleFromImage Translates a rectangle from this RasterImage view perspective to the specified view perspective.
RectangleToImage Translates a rectangle from a specified view perspective to this RasterImage view perspective.
RegionContains Determines whether the specified pixel is in the image region.
Release Releases memory locked with Access back to the system.
ReleaseData Releases memory locked with AccessData back to the system.
RemoveAllPages Removes all pages from this RasterImage.
RemovePageAt Removes the page at the specified index from this RasterImage.
RemovePages Removes one or more pages from this RasterImage.
ReplacePage Replaces an existing page in this RasterImage.
ReplacePages Replaces one or more pages of this RasterImage.
ReverseRegion Flips the image region (left to right).
RotateViewPerspective Rotates this RasterImage by changing its ViewPerspective.
SetAlphaImage Replaces existing alpha channel data or creates new alpha channel data.
SetLookupTable Sets the 8-bit lookup table (LUT) of this RasterImage.
SetLookupTable16 Sets the 16-bit lookup table (LUT) of this RasterImage.
SetOverlayImage Sets the overlay image for a certain index.
SetOverlayImageSize Changes the size of the overlay image for a certain index.
SetPaintLookupTable For internal use by LEADTOOLS.
SetPaintLookupTable16 For internal use by LEADTOOLS.
SetPalette Sets the palette of this RasterImage object that will be used by 1-8 bit color or grayscale image.
SetPixel Changes the color value of the specified pixel.
SetPixelColor Changes the color value of the specified pixel.
SetPixelData Changes the data of the specified pixel by copying from an unmanaged memory buffer.
SetRegion Sets or updates the RasterRegion object that describes this RasterImage current region.
SetRow Copies one or more rows of image data from an unmanaged memory buffer to this RasterImage.
SetRowColumn Copies data from an unmanaged memory buffer to an image, with an offset to the image.
SetRowColumnCompressed Puts a row (or part of a row) of 1-bit compressed data from a buffer into an image that is maintained in its compressed format.
SetRowCompressed Puts one or more rows of 1-bit compressed data from a buffer into an image that is maintained in its compressed format.
SetRowSegments For internal use by LEADTOOLS.
SetUserData Sets the data for the image to the specified unmanaged memory buffer.
SetYUVData Updates the image data using the YUV data from an input buffer. The YUV data is converted to grayscale/BGR before being set in the RasterImage.
StartDithering Initializes the buffered dithering of an image.
StopDithering Cleans up all data variables and buffers allocated by the StartDithering and DitherLine methods.
ToDib Gets an unmanaged pointer containing a Windows device independent bitmap (DIB) version of this image.
ToDib (winrt) Gets an unmanaged pointer containing a Windows device independent bitmap (DIB) version of this image.
ToDibArray Gets a managed buffer containing a Windows device independent bitmap (DIB) version of this image.
TranslateColor Translates the specified color in the image, and returns the nearest matching color in the destination image.
Underlay Combines two images so that one appears to be an underlying texture for the other.
UpdateOverlayAttributes Updates the overlay attributes for the overlay at the specified index.
UpdateOverlayBits Updates the overlay image pixels with the bits from the corresponding bitplane of the main image.
WindowLevel Sets up the paint or paint and image processing methods' window leveling options for this RasterImage
WindowLevelExt Sets up the paint or paint and image processing methods' window leveling options for this RasterImage

Protected Methods

Name Description
Dispose Releases all the resources used by this RasterImage.
Finalize This member overrides Finalize.

Public Properties

Name Description
AnimationBackground Gets or sets a value indicating the animation background color for the current frame.
AnimationDelay Gets or sets a value indicating the animation delay in milliseconds (ms) for the current frame.
AnimationDisposalMethod Gets or sets a value indicating the animation disposal method for the current frame.
AnimationGlobalBackground Gets or sets a value indicating the global background color of the animation image.
AnimationGlobalLoop Gets or sets a value indicating the global loop count for animated images.
AnimationGlobalSize Gets or sets a value indicating the global size of the animation image.
AnimationOffset Gets or sets a value indicating the animation offset for the current frame.
AnimationWaitUserInput Gets or sets a value indicating whether the RasterImageAnimator object should wait for user input in the current frame.
BitsPerPixel Gets the number of bits per pixel of this RasterImage
BytesPerLine Gets the number of bytes per scanline for the image data of this RasterImage.
Comments The collection of comment data used when reading and writing certain file formats (including GIF).
Comments (winrt) The collection of comment data used when reading and writing certain file formats (including GIF).
CustomData Gets a dictionary that holds user-added data for the image.
CustomData (winrt) Gets a dictionary that holds user-added data for the image.
Data Gets the data for the image in native format.
DataSize Gets the size, in bytes, of the image data buffer.
DitherData For internal use by LEADTOOLS.
DitheringMethod Gets or sets the default dithering method, referenced by some internal LEADTOOLS methods.
GeoKeys The collection of GeoKeys used when reading and writing Geo TIFF files.
GeoKeys (winrt) The collection of GeoKeys used when reading and writing Geo TIFF files.
GrayscaleMode Determines if this RasterImage is a grayscale image.
HasRegion Determines whether this RasterImage has a region.
Height Gets the height of this RasterImage in pixels.
HighBit Gets or sets the image window level high bit value.
ImageHeight Gets the height of this RasterImage in pixels, taking ViewPerspective into account.
ImageSize Gets the size in pixels of this RasterImage object.
ImageWidth Gets the width of this RasterImage in pixels, taking ViewPerspective into account.
IsBasic Determines whether the image data is basic.
IsCompressed Determines if the memory allocated for the image data is compressed memory.
IsConventionalMemory Determines if the memory allocated for the image data is in conventional memory.
IsDiskMemory Determines if the memory allocated for the image data is allocated as a disk file rather than in physical memory.
IsDisposed Gets a value indicating whether the RasterImage object has been disposed of.
IsFlipped Determines whether the image has a a flipped ViewPerspective.
IsGlobalMemory Determines if the memory allocated for the image data is a global Windows handle.
IsGray Determines whether the image has a grayscale byte order.
IsLoading Gets a value that determines whether this RasterImage object is still loading.
IsMirrored Determines whether the image data is mirrored.
IsRotated Determines whether the image has a rotated ViewPerspective.
IsSuperCompressed Determines if the memory allocated for the image data is super-compressed memory.
IsTiled Determines if the memory allocated for the image data is allocated in tiles.
LowBit Gets or sets the image window level low bit value.
Markers The collection of marker data used when reading and writing certain file formats (including JPEG).
Markers (winrt) The collection of marker data used when reading and writing certain file formats (including JPEG).
MaxValue Gets or sets the images maximum grayscale value.
MemoryInformation Gets or sets information about the memory allocated for the image data.
MinValue Gets or sets the images minimum grayscale value.
NoRegionClip Enables or disables clipping the image to the region.
Order Gets or sets the color order of this RasterImage.
OriginalFormat Gets or sets the original image format of this RasterImage.
OverlayCount Gets the number of overlays that have been defined for this RasterImage.
Page Gets or sets the current active page for this RasterImage.
PageCount Gets the total number of pages in the this RasterImage.
PaintContrast Gets or sets the current contrast value for the image.
PaintGamma Gets or sets the current gamma correction value for the image.
PaintHighBit Gets or sets the image paint high bit value.
PaintIntensity Gets or sets the current intensity value for the image.
PaintLowBit Gets or sets the image paint low bit value.
PremultiplyAlpha Enables or disables automatic handling of premultiplied alpha channel values when using Silverlight WriteableBitmap.
Signed Determines if the image data contains signed values.
Tags The collection of tag data used when reading and writing certain file formats (including TIFF).
Tags (winrt) The collection of tag data used when reading and writing certain file formats (including TIFF).
Transparent Gets or sets a value that indicates whether to use the transparent color.
TransparentColor Gets or sets the transparent color used when painting this image.
UseLookupTable Enables or disables using the lookup table (LUT) of this RasterImage.
UsePaintLookupTable For internal use by LEADTOOLS.
ViewPerspective Gets or sets the view perspective of the image data of this RasterImage.
Width Gets the width of this RasterImage in pixels.
XResolution Gets or sets the image horizontal resolution, in dots per inch (DPI).
YResolution Gets or sets the image vertical resolution, in dots per inch (DPI).

Public Fields

Name Description
Changed Occurs when the image data or attributes has changed.
Disposed Occurs when the image is disposed by a call to the Dispose method.
LoadCompleted For internal use by LEADTOOLS
PagesChanged Occurs when pages are added, inserted or removed from this RasterImage object.

Protected Fields

Name Description
MaxOverlays Gets the maximum number of overlays allowed in a RasterImage.
RasterImageDataFormat Get the name of the data format used when copying a raster image to the clipboard
Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly