Image service GetPixelBlock method
Gets a pixel block from an image at a given raster ID and at block/tile location (tx, ty). A raster ID (RID) is the object ID of the catalog item containing the image.
GetPixelBlock(int RID, int Tx , int Ty, int Level)
Parameter |
Description |
---|---|
RID |
The raster ID. |
Tx |
The block/tile column number. |
Ty |
The block/tile row number. |
Level |
The pyramid level. The level 0 is the base image. |
Return Value
A base64Binary object.
Remarks
The returned binary pixel block data is of the same format as that returned from GetImage().
The pixel block is positioned using block/tile column and row numbers based on a tiling scheme, i.e. the tile origin, the pixel size, and tile size. The pixel block is from the catalog item, which is after all function being applied on-the-fly.
The tiling information on an image can be obtained using GetRasterInfo(). The pixel block is from the catalog item, which is after all function being applied on-the-fly.