void write_header( )
Java: void Write_header( )
[Declared in "../apps/compressed_io/jp2.h"]
Writes the JP2 file header, up until, but not including the contiguous code-stream box. This function leaves the underlying jp2_output_box object closed so that you can use the base object's jp2_output_box::open_next function to open any custom JP2 boxes you wish to write after the header, but before the contiguous code-stream box. In any event, you cannot pass the present object to kdu_codestream::create until you have called write_header and open_codestream.