| synopsis || arguments || prev || next |

kdu_codestream::get_tile_dims

Java: Kdu_codestream::Get_tile_dims

void get_tile_dims( kdu_coords tile_idx, int comp_idx, kdu_dims & dims)

Java: void Get_tile_dims( Kdu_coords tile_idx, int comp_idx, Kdu_dims dims)

[Declared in "../coresys/common/kdu_compressed.h"]

Go to class description.


Synopsis

Same as get_dims except that it returns the location and dimensions of only a single tile (if comp_idx is negative) or tile-component (if comp_idx >= 0). The tile indices must lie within the range identified by the get_valid_tiles function. As with get_dims, all coordinates and dimensions are affected by the prevailing geometric appearance and constraints set up using the change_appearance and apply_input_restrictions functions. As a result, the function returns the same dimensions as those returned by the kdu_tile_comp::get_dims function provided by the relevant tile-component; however, the present function has the advantage that it can be used without first opening the tile — an act which may consume substantial internal resources and may involve substantial parsing of the code-stream.


Arguments

tile_idx [kdu_coords]

comp_idx [int]

dims [kdu_dims &]


| top || synopsis || arguments || prev || next |