ImageGearJava Project > com.accusoft.imagegear.core Package : ImGearDIB Class |
The following tables list the members exposed by ImGearDIB.
Name | Description | |
---|---|---|
ImGearDIB Constructor | Initializes a new instance of the ImGearDIB class. |
Name | Description | |
---|---|---|
bitDepth | Total quantity of bits used to represent a single pixel. | |
bitsPerChannel | Allocated (actual) size of store for each channel in bits. | |
channelDepths | Depth of image channels. | |
colorSpace | Color space attribute. | |
extraChannelInfo | Information on image Extra channels.
Always non-null, length is always equal to number of extra channels in the image. Has zero length if the image contains no extra channels. | |
height | Image heigth in pixels. | |
imageResolution | Image resolution information. | |
palette | Image palette, for images that have Indexed colorspace.
Provides full access to the DIB's palette represented as an array of ImGearRGBQuad structure objects. Palette must be present in images that have ImGearColorSpaceIDs.I colorspace. Palette is ignored in images that have other colorspaces. | |
signed | Specifies whether the image is signed. | |
width | Image width in pixels. |
Name | Description | |
---|---|---|
allocateImage | Allocates pixel data based on the DIB header information.
Allocates store for pixel data based on the DIB header information. Previous store will be lost if any allocation was made before. | |
clone | Creates a new object that is a copy of the current instance. | |
getAreaCopy | Returns an array of pixels that are exact copies of pixels in the requested rectangular part of the image. | |
getBitDepth | Gets total quantity of bits used to store a single pixel.
| |
getBitsPerChannel | Gets allocated (actual) size of store for each channel in bits.
Returns allocated (actual) size of any image channel in bits. The values 8, 16 and 32 are used as a basis for the array allocation. Value returned by this method is correct for uncompressed DIBs only. Compressed DIBs have a different channel structure. For these sorts of DIBs this method always returns 8, although this value has no real meaning. | |
getChannelCount | Gets total quantity of channels in image.
Returns the same value as | |
getChannelDepths | Gets the bit depth of each color channel in the image.
| |
getColorSpace | Gets color Space of current image.
| |
getColumnCopy | Returns an array of pixels that are exact copies of pixels located in requested column part. | |
getExtraChannelInfo | Returns extra channel info. Always non-null, length is always equal to number of extra channels in the image. Has zero length if the image contains no extra channels. | |
getHeight | Gets height of image in pixels.
| |
getImage | Returns a reference to raw image store. Should be used to gain direct access to image pixels. | |
getImageResolution | Returns image resolution. | |
getLineCopy | Returns an array of pixels that are exact copies of pixels located in the requested area of image. | |
getPalette | Returns image palette, for images that have Indexed colorspace.
Provides full access to the DIB's palette represented as an array of ImGearRGBQuad structure objects. Palette must be present in images that have ImGearColorSpaceIDs.I colorspace. Palette is ignored in images that have other colorspaces. | |
getPixelCopy | Returns exact copy of requested pixel. | |
getRaster | Returns reference to raw raster store. Should be used to gain direct access to raster pixels. | |
getRowCopy | Returns an array of pixels that are exact copies of the pixels located in requested row part of the row. | |
getWidth | Gets width of image in pixels.
| |
isEmpty | Tells whether store for the pixels has been allocated.
Pixel store can be allocated during DIB (page) creation or by allocateImage method. | |
isSigned | Returns a value indicating whether image is signed or not. | |
setExtraChannelInfo | Sets extra channel info. Always non-null, length is always equal to number of extra channels in the image. Has zero length if the image contains no extra channels. | |
setImageResolution | Sets image resolution. | |
setPalette | Sets image palette, for images that have Indexed colorspace.
Provides full access to the DIB's palette represented as an array of ImGearRGBQuad structure objects. Palette must be present in images that have ImGearColorSpaceIDs.I colorspace. Palette is ignored in images that have other colorspaces. | |
setSigned | Sets a value indicating whether image is signed or not. | |
updateAreaFrom | Updates the pixels of the specified rectangular area. | |
updateColumnFrom | Updates part of column with new pixels. | |
updateLineFrom | Exchanges the pixels of the specified line with new pixels. | |
updatePixelFrom | Updates single pixel with new value. | |
updateRowFrom | Updates part of row with new pixels. |
Name | Description | |
---|---|---|
copyImageTo | Copies internal image data to incoming dib. |