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

kdu_codestream::change_appearance

Java: Kdu_codestream::Change_appearance

void change_appearance( bool transpose, bool vflip, bool hflip)

Java: void Change_appearance( boolean transpose, boolean vflip, boolean hflip)

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

Go to class description.


Synopsis

This function alters the apparent orientation of the image, affecting the apparent dimensions and regions indicated by all subordinate objects and interfaces. Multiple calls are permitted and the functionality is supported for both input and output codestreams. Except in the case of an input codestream marked for persistence (see set_persistent), the function may not be called after the first tile access. Even in the case of a persistent input codestreams, the function may not be called while any tile is open.

Note that this function has no impact on kdu_params objects in the list returned by the access_siz function, since those describe the actual underlying code-stream.


Arguments

transpose [bool]

Causes vertical coordinates to be transposed with horizontal.

vflip [bool]

Flips the image vertically, so that vertical coordinates start from the bottom of the image/canvas and work upward. If transpose and vflip are both true, vertical coordinates start from the right and work toward the left of the true underlying representation.

hflip [bool]

If true, individual image component lines (and all related quantities) are flipped. If transpose is also true, these lines correspond to columns of the true underlying representation.


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