Function libCZI_CreateWriter

Function libCZI_CreateWriter#

Function Documentation#

LibCZIApiErrorCode libCZI_CreateWriter(CziWriterObjectHandle *writer_object, const char *options)#

Create a writer object for authoring a document in CZI-format. The options string is a JSON-formatted string, here is an example:

{
"allow_duplicate_subblocks" : true
}

Parameters:
  • writer_object[out] If the operation is successful, a handle to the newly created writer object is put here.

  • options – A JSON-formatted zero-terminated string (in UTF8-encoding) containing options for the writer creation.

Returns:

An error-code indicating success or failure of the operation.