Annotation SDK is capable to burn in the annotation without displaying the image. Please see the sample code below:
// Get the number of pages of the TIFF file
var n = BITIFF.GetNumberOfImagesInTiffFile(TiffFileName);
// Load the annotations from the TIFF file (all pages, all layers)
BIANNO.AnnoLoadFromTiff(TiffFileName, 0);
// Iterate through the pages
for (i = 0; i < n; i++)
{
// Load the page
var hDib = BITIFF.LoadTiffIntoDIB(TiffFileName, i, false);
// Set the annotation page size
BIANNO.AnnoUISetExtent( BIDIB.GetDIBWidth(hDib), BIDIB.GetDIBHeight(hDib));
// Select a layer (for example layer 5.)
BIANNO.SetNumberOfLayers(1);
BIANNO.SetLayerNumberAt(5,0);
BIANNO.SetLayersExt();
BIANNO.SelectLayer(5);
// Select the annotation page
BIANNO.AnnoSelectPage(i);
// Burn the annotation to the page
var hNewDib = BIANNO.AnnoBurnin(hDib);
// Free the old page
BITIFF.DropDIB(hDib);
// Delete the annotations we just burned in (deleting only layer 5 from page i)
BIANNO.DeleteObjectsFromPage(i);
// Save the page to a new TIFF file
BITIFF.InsertTiffImage(TiffFileName2, hNewDib, 208, false, 1, i, true, true);
}
// Save the other layers of the annotation
BIANNO.AnnoSaveToTiff(TiffFileName2, 0);