Available in LEADTOOLS Document and Medical Imaging toolkits.
Annotation Functions: Input and Output Saving Annotation Files
L_AnnSave
L_AnnSaveMemory
L_AnnSaveOffset
L_AnnSaveTag