| synopsis || return value || arguments || prev || next |
jp2_colour access_colour( int which)
Java: Jp2_colour Access_colour( int which)
[Declared in "../apps/compressed_io/jpx.h"]
Returns an object which may be used to access information recorded in a Colour Description (colr) box, which indicates the interpretation of colour image data for rendering purposes. The returned jp2_colour object also provides convenient colour transformation functions, to convert data which uses a custom ICC profile into one of the standard rendering spaces.
An empty interface (one whose exists function returns false) if which is greater than or equal to the number of colour description boxes in the JPX file which may be applied to this compositing layer.
If this argument is 0, the returned object will be an interface to the information in the first Colour Description (colr) box in the JPX file which is relevant to this compositing layer. If there are more than one such Colour Description boxes a value of which=1 will cause an interface to the information in the second box to be returned, and so forth. If which is greater than or equal to the number of relevant colour description boxes, the function will return an empty interface (one whose exists function returns false).
| top || synopsis || return value || arguments || prev || next |