| synopsis || arguments || prev |

jp2_colour::get_vendor_data

kdu_byte * get_vendor_data( int * num_bytes=NULL)

[Declared in "../apps/compressed_io/jp2.h"]

Go to class description.


Synopsis

If get_space returns JP2_vendor_SPACE, this function returns a pointer to the internal buffer used to represent the vendor colour space (everything after the 16-byte UUID in the colr box's METHDATA field). Otherwise, the function returns a NULL pointer.

The returned block of memory, if any, belongs to the internal object; no attempt should be made to delete it or to use it beyond the lifetime of the object which originally supplied this interface.


Arguments

num_bytes [int *]

If not NULL, this argument is used to return the length of the buffer — written to * num_bytes.


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