| synopsis || arguments || prev || next |
void copy( jpx_meta_manager src)
[Declared in "../apps/compressed_io/jpx.h"]
Use this function to copy the structure and contents of an entire metadata tree into the present object's metadata tree. This operation can be used to copy a source file's metadata tree to a new output file, possibly after some editing. Note that this function uses jpx_metanode::add_copy so the conditions described there also apply here. Specifically, you must be sure to keep any ultimate jp2_family_src object associated with src open until after the current metadata tree has been written using jpx_target::write_metadata.
One side effect of this function is that it also updates the src object to include as much metadata as can possibly be parsed from its ultimate data source.