| synopsis || arguments || prev || next |
float get_aspect_ratio( bool for_display=true)
Java: float Get_aspect_ratio( boolean for_display)
[Declared in "../apps/compressed_io/jp2.h"]
Always returns a positive aspect ratio representing the vertical grid spacing divided by the horizontal grid spacing on the code-stream's high resolution canvas. If for_display is false, the capture aspect ratio is returned instead of the display aspect ratio, although these should be identical in any reasonable use of the relevant JP2 boxes.