LEADTOOLS (Leadtools assembly)

RasterImage Class Members

Show in webframe
Fields  Properties  Methods  Events


The following tables list the members exposed by RasterImage.

Public Constructors
 NameDescription
RasterImage ConstructorOverloaded.   
Top
Public Fields
 NameDescription
MaxOverlaysGets the maximum number of overlays allowed in a RasterImage.  
Top
Public Properties
 NameDescription
AnimationBackgroundGets or sets a value indicating the animation background color for the current frame.  
AnimationDelayGets or sets a value indicating the animation delay in milliseconds (ms) for the current frame.  
AnimationDisposalMethodGets or sets a value indicating the animation disposal method for the current frame.  
AnimationGlobalBackgroundGets or sets a value indicating the global background color of the animation image.  
AnimationGlobalLoopGets or sets a value indicating the global loop count for animated images.  
AnimationGlobalSizeGets or sets a value indicating the global size of the animation image.  
AnimationOffsetGets or sets a value indicating the animation offset for the current frame.  
AnimationWaitUserInputGets or sets a value indicating whether the RasterImageAnimator object should wait for user input in the current frame.  
BitsPerPixelGets the number of bits per pixel of this RasterImage  
BytesPerLineGets the number of bytes per scanline for the image data of this RasterImage.  
CommentsThe collection of comment data used when reading and writing certain file formats (including GIF).  
Comments_WinRTThe collection of comment data used when reading and writing certain file formats (including GIF).  
DataGets the data for the image in native format.  
DataSizeGets the size, in bytes, of the image data buffer.  
DitherDataFor internal use by LEADTOOLS.  
DitheringMethodGets or sets the default dithering method, referenced by some internal LEADTOOLS methods.  
GeoKeysThe collection of GeoKeys used when reading and writing Geo TIFF files.  
GeoKeys_WinRTThe collection of GeoKeys used when reading and writing Geo TIFF files.  
GrayscaleModeDetermines if this RasterImage is a grayscale image.  
HasRegionDetermines whether this RasterImage has a region.  
HeightGets the height of this RasterImage in pixels.  
HighBitGets or sets the image window level high bit value.  
ImageHeightGets the height of this RasterImage in pixels, taking ViewPerspective into account.  
ImageSizeGets the size in pixels of this RasterImage object.  
ImageWidthGets the width of this RasterImage in pixels, taking ViewPerspective into account.  
IsBasicDetermines whether the image data is basic.  
IsCompressedDetermines if the memory allocated for the image data is compressed memory.  
IsConventionalMemoryDetermines if the memory allocated for the image data is in conventional memory.  
IsDiskMemoryDetermines if the memory allocated for the image data is allocated as a disk file rather than in physical memory.  
IsDisposedGets a value indicating whether the RasterImage object has been disposed of.  
IsFlippedDetermines whether the image has a a flipped ViewPerspective.  
IsGlobalMemoryDetermines if the memory allocated for the image data is a global Windows handle.  
IsGrayDetermines whether the image has a grayscale byte order.  
IsLoadingGets a value that determines whether this RasterImage object is still loading.  
IsMirroredDetermines whether the image data is mirrored.  
IsRotatedDetermines whether the image has a rotated ViewPerspective.  
IsSuperCompressedDetermines if the memory allocated for the image data is super-compressed memory.  
IsTiledDetermines if the memory allocated for the image data is allocated in tiles.  
LowBitGets or sets the image window level low bit value.  
MarkersThe collection of marker data used when reading and writing certain file formats (including JPEG).  
Markers_WinRTThe collection of marker data used when reading and writing certain file formats (including JPEG).  
MaxValueGets or sets the images maximum grayscale value.  
MemoryInformationGets or sets information about the memory allocated for the image data.  
MinValueGets or sets the images minimum grayscale value.  
NoRegionClipEnables or disables clipping the image to the region.  
OrderGets or sets the color order of this RasterImage.  
OriginalFormatGets or sets the original image format of this RasterImage.  
OverlayCountGets the number of overlays that have been defined for this RasterImage.  
PageGets or sets the current active page for this RasterImage.  
PageCountGets the total number of pages in the this RasterImage.  
PaintContrastGets or sets the current contrast value for the image.  
PaintGammaGets or sets the current gamma correction value for the image.  
PaintHighBitGets or sets the image paint low bit value.  
PaintIntensityGets or sets the current intensity value for the image.  
PaintLowBitGets or sets the image paint low bit value.  
PremultiplyAlphaEnables or disables automatic handling of premultiplied alpha channel values when using Silverlight WriteableBitmap.  
SignedDetermines if the image data contains signed values.  
TagsThe collection of tag data used when reading and writing certain file formats (including TIFF).  
Tags_WinRTThe collection of tag data used when reading and writing certain file formats (including TIFF).  
TransparentGets or sets a value that indicates whether to use the transparent color.  
TransparentColorGets or sets the transparent color used when painting this image.  
UseLookupTableEnables or disables using the lookup table (LUT) of this RasterImage.  
UsePaintLookupTableFor internal use by LEADTOOLS.  
ViewPerspectiveGets or sets the view perspective of the image data of this RasterImage.  
WidthGets the width of this RasterImage in pixels.  
XResolutionGets or sets the image horizontal resolution, in dots per inch (DPI).  
YResolutionGets or sets the image vertical resolution, in dots per inch (DPI).  
Top
Public Methods
 NameDescription
AccessProvides exclusive access to the image data contained in this RasterImage.  
AccessDataProvides exclusive access to the image data contained in this RasterImage.  
AddBeziersToRegionOverloaded. Creates or updates the image region by adding a bezier region.  
AddBorderToRegionCreates 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.  
AddColorHsvRangeToRegionCreates or updates the image region by adding a region that consists of all the pixels that fall in the given HSV color range.  
AddColorRgbRangeToRegionCreates or updates the image region by adding a region that consists of all the pixels that fall in the given RGB color range.  
AddColorToRegionCreates or updates the image region by adding a region that consists of all the pixels of a specified color.  
AddCurveToRegionOverloaded. Creates or updates the image region by adding a curved region.  
AddEllipseToRegionCreates or updates the image region by adding an elliptical region.  
AddMagicWandToRegionSets a region based on the color found at point x, y in the image.  
AddMaskToRegionCreates or updates the image region by adding a region that consists of all the white pixels in a 1-bit mask image.  
AddPageAdds a new page to this RasterImage.  
AddPagesAdds one or more images to this RasterImage.  
AddPolygonToRegionOverloaded. Creates or updates the image region by adding a polygonal region.  
AddRectangleToRegionCreates or updates the image region by adding a rectangular region.  
AddRoundRectangleToRegionCreates or updates the image region by adding a rounded rectangular region.  
CalculatePaintModeRectangleAdjusts the given rectangle based on the given paint mode properties.  
CalculateRegionAreaGets the total number of pixels in the image region.  
CalculateRegionMaximumClipSegmentsGets the number of elements required to hold the clip segments for any row in the region.  
ChangeCompressionCompresses or decompresses this RasterImage.  
ChangeFromDibChanges a Windows device independent bitmap (DIB) to a LEAD RasterImage object.  
ChangeHeightIncreases or decreases the allocated height of an image.  
ChangeToDibChanges a LEAD RasterImage object to a Windows Device Independent Bitmap (DIB).  
ChangeViewPerspectiveRotates and flips the image data as necessary to achieve the desired view perspective.  
CloneOverloaded. Creates an exact copy of the current page of this RasterImage.  
CloneAllCreates an exact copy of this RasterImage.  
CopyDataOverloaded. Updates the data of this RasterImage.  
CopyMetadataToCopies the metadata (tags, comments, and markers) to the given image.  
CopyPaletteToCopies the palette of this RasterImage into a destination image.  
CreateCreates a new RasterImage using the specified parameters.  
CreateAlphaImageCreates a grayscale image from this RasterImage alpha channel data.  
CreateFromArrayConstructs a new RasterImage object using the specified parameters and optional managed memory.  
CreateFromBufferCreates a new RasterImage using the specified parameters.  
CreateFromIntPtrCreates a new RasterImage using the specified parameters.  
CreateGrayscaleCreates a new grayscale RasterImage using the specified parameters.  
CreateMaskFromRegionCreates a 1-bit mask image from the region that is defined in the image.  
CreateThumbnailCreates a thumbnail image of this RasterImage.  
DisableEventsDisables raising the Changed event.  
DisposeOverloaded. Releases all resources used by this RasterImage.  
DitherLineOverloaded. Used in a loop, dithers the line in a specified input buffer, and writes it to an output buffer.  
EnableEventsEnables raising the Changed event.  
FlipRegionFlips the image region (top to bottom).  
FlipViewPerspectiveFlips this RasterImage image by changing its ViewPerspective.  
FromDibOverloaded. Creates a new image from the specified Windows device independent bitmap (DIB) stored in a managed array.  
FromDibArrayCreates a new image from the specified Windows device independent bitmap (DIB) stored in a managed array.  
FromDibPtrCreates a new image from the specified Windows device independent bitmap (DIB) stored in an unmanaged pointer.  
GetImageHeightDpiGets the height of this RasterImage in pixels, taking ViewPerspective and YResolution into account.  
GetImageSizeDpiGets the size in pixels of this RasterImage object, taking YResolution into account.  
GetImageWidthDpiGets the width of this RasterImage in pixels, taking ViewPerspective and XResolution into account.  
GetLookupTableGets the 8-bit lookup table (LUT) of this RasterImage.  
GetLookupTable16Gets the 16-bit lookup table (LUT) of this RasterImage.  
GetObjectDataPopulates a specified System.Runtime.Serialization.SerializationInfo with the data needed to serialize this object.  
GetOverlayAttributesGets one or more overlay attributes for the specified index.  
GetOverlayImageGets the overlay image for the specified index.  
GetPaintLookupTableFor internal use by LEADTOOLS.  
GetPaintLookupTable16For internal use by LEADTOOLS.  
GetPaletteGets a copy of the palette of this RasterImage object that will be used by 1-8 bit color or grayscale image.  
GetPixelReturns the color of the specified pixel.  
GetPixelColorReturns the color of the specified pixel.  
GetPixelDataOverloaded. Copies the pixel data of the specified pixel into an unmanaged memory buffer.  
GetRegionGets the RasterRegion object that describes this RasterImage current region.  
GetRegionBoundsGets the bounding rectangle of the image region.  
GetRegionBoundsClippedGets the bounding rectangle of the image region.  
GetRegionClipSegmentsGets the segments contained in the region for a particular row.  
GetRowOverloaded. Retrieves one or more rows of image data from this RasterImage into a managed memory buffer.  
GetRowColumnOverloaded. Accepts a column offset to retrieve data from an image and place it in a buffer.  
GetRowColumnCompressedOverloaded. Retrieves a row (or part of a row) of 1-bit compressed data from an image that has been loaded in its compressed format.  
GetRowCompressedOverloaded. Retrieves one or more rows of 1-bit compressed data from an image that has been loaded in its compressed format.  
GetTrueColorValueGets the true (RGB) value of the specified color based on the current image palette.  
InsertPageInserts a new page into this RasterImage.  
InsertPagesInserts one or more pages into this RasterImage.  
MakeRegionEmptyRemoves the region from the image and frees the memory used for the region.  
OffsetRegionMoves the image region by the specified number of rows and columns.  
OnChangedRaises the Changed event.  
PointFromImageTranslates a point (x,y) from this RasterImage view perspective to the specified view perspective.  
PointToImageTranslates a point (x,y) from the specified view perspective to this RasterImage view perspective.  
RectangleFromImageTranslates a rectangle from this RasterImage view perspective to the specified view perspective.  
RectangleToImageTranslates a rectangle from a specified view perspective to this RasterImage view perspective.  
RegionContainsDetermines whether the specified pixel is in the image region.  
ReleaseReleases memory locked with Access back to the system.  
ReleaseDataReleases memory locked with AccessData back to the system.  
RemoveAllPagesRemoves all pages from this RasterImage.  
RemovePageAtRemoves the page at the specified index from this RasterImage.  
RemovePagesRemoves one or more pages from this RasterImage.  
ReplacePageReplaces an existing page in this RasterImage.  
ReplacePagesReplaces one or more pages of this RasterImage.  
ReverseRegionFlips the image region (left to right).  
RotateViewPerspectiveRotates this RasterImage by changing its ViewPerspective.  
SetAlphaImageReplaces existing alpha channel data or creates new alpha channel data.  
SetLookupTableSets the 8-bit lookup table (LUT) of this RasterImage.  
SetLookupTable16Sets the 16-bit lookup table (LUT) of this RasterImage.  
SetOverlayImageSets the overlay image for a certain index.  
SetOverlayImageSizeChanges the size of the overlay image for a certain index.  
SetPaintLookupTableFor internal use by LEADTOOLS.  
SetPaletteSets the palette of this RasterImage object that will be used by 1-8 bit color or grayscale image.  
SetPixelChanges the color value of the specified pixel.  
SetPixelColorChanges the color value of the specified pixel.  
SetPixelDataOverloaded. Changes the data of the specified pixel by copying from an unmanaged memory buffer.  
SetRegionSets or updates the RasterRegion object that describes this RasterImage current region.  
SetRowOverloaded. Copies one or more rows of image data to this RasterImage.  
SetRowColumnOverloaded. Copies data from a buffer into an image, with an offset to the image.  
SetRowColumnCompressedOverloaded. 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.  
SetRowCompressedOverloaded. Puts one or more rows of 1-bit compressed data from a buffer into an image that is maintained in its compressed format.  
SetRowSegmentsOverloaded. For internal use by LEADTOOLS.  
SetUserDataSets the data for the image to the specified unmanaged memory buffer.  
StartDitheringInitializes the buffered dithering of an image.  
StopDitheringCleans up all data variables and buffers allocated by the StartDithering and DitherLine(Byte[],Int32,Byte[],Int32) methods.  
ToDibGets an unmanaged pointer containing a Windows device independent bitmap (DIB) version of this image.  
ToDib_WinRTGets an unmanaged pointer containing a Windows device independent bitmap (DIB) version of this image.  
ToDibArrayGets a managed buffer containing a Windows device independent bitmap (DIB) version of this image.  
TranslateColorOverloaded. Translates the specified color in the image, and returns the nearest matching color in the destination image.  
UnderlayCombines two images so that one appears to be an underlying texture for the other.  
UpdateOverlayAttributesUpdates the overlay attributes for the overlay at the specified index.  
UpdateOverlayBitsUpdates the overlay image pixels with the bits from the corresponding bitplane of the main image.  
WindowLevelSets up the paint or paint and image processing methods' window leveling options for this RasterImage  
WindowLevelExtSets up the paint or paint and image processing methods' window leveling options for this RasterImage  
Top
Protected Methods
 NameDescription
FinalizeThis member overrides System.Object.Finalize.  
Top
Public Events
 NameDescription
ChangedOccurs when the image data or attributes has changed.  
DisposedOccurs when the image is disposed by a call to the Dispose method.  
LoadCompletedFor internal use by LEADTOOLS  
PagesChangedOccurs when pages are added, inserted or removed from this RasterImage object.  
Top
See Also

Reference

RasterImage Class
Leadtools Namespace
RasterImage and GDI/GDI+
RasterImage and WPF/Silverlight

 

 


Products | Support | Contact Us | Copyright Notices

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