| synopsis || arguments || prev || next |
void set_resolution( float resolution, bool for_display=true)
Java: void Set_resolution( float resolution, boolean for_display)
[Declared in "../apps/compressed_io/jp2.h"]
Sets the vertical resolution in high resolution canvas grid points per metre. If for_display is true, this is the default display resolution; oherwise, it is the capture resolution. There is no need to explicitly specify either of these resolutions. If no resolution is specified the relevant box will not be written in the JP2/JPX file, except when a non-unity aspect ratio is selected. In the latter case, a default display resolution box will be created having a default vertical display resolution of 1 grid point per metre.