| synopsis || return value || prev |

jpx_target::close

Java: Jpx_target::Close

virtual bool close( )

Java: boolean Close( )

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

Go to class description.


Synopsis

Call this function only after you have written the JPX header and generated all contiguous codestream boxes. It is possible that the function will generate additional trailing boxes of its own. If you fail to do this, an error will be generated through kdu_error.

It is safe to call this function even if the object was never opened, or has been closed since it was last opened, but in this case the function will return false.


Return Value

True, unless the object was not open.


| top || synopsis || return value || prev |