Rasterized image show annotation as DRAFT

Product: PDFNet SDK for .NET

Product Version: 9.5.0-1bc49d6a54

Please give a brief summary of your issue:
Rasterized image show annotation as DRAFT

Please describe your issue and provide steps to reproduce it:
We are trying to merge PDF and annotation (XFDF) using the library but the output image shows annotation as draft. The XFDF file contains an tag that pointed to our image url. I’m wondering why the annotation shows properly in WebViewer but not when merging it using the SDK library.
Please note that we bought a license key for the sdk library.

sample.xfdf (1.9 KB)

Here’s the code:
using (pdftron.PDF.PDFDraw draw = new pdftron.PDF.PDFDraw())
{
// Pdf has been viewed and annotation exists.
// Merge pdf and annotation and extract the new image
using (pdftron.PDF.PDFDoc doc = new pdftron.PDF.PDFDoc(pdfImagePath))
{
FDFDoc fdfDoc = new FDFDoc(FDFDoc.CreateFromXFDF(annImagePath));

                                doc.InitSecurityHandler();
                                // Merge FDF data into PDF doc
                                doc.FDFMerge(fdfDoc);
                                
                                // Refreshing missing appearances is not required here, but is recommended to make them 
                                // visible in PDF viewers with incomplete annotation viewing support. (such as Chrome)
                                doc.RefreshAnnotAppearances();

                                // set output resolution
                                draw.SetDPI(92);

                                int pgCount = doc.GetPageCount();
                                //int pageNum = 1;
                                int.TryParse(instrument.FirstPage, out int pageNum);
                                string outputPath = System.IO.Path.Combine(imgPathForRE, instrumentType + countyCode.PadLeft(3, '0'),
                                    instrument.BookNo.PadLeft(5, '0'));

                                if (!System.IO.Directory.Exists(outputPath))
                                    System.IO.Directory.CreateDirectory(outputPath);

                                for (int i = 0; i < pgCount; i++)
                                {
                                    // Rasterize the first page
                                    pdftron.PDF.Page pg = doc.GetPage(i + 1);
                                    outputPath = System.IO.Path.Combine(outputPath, (pageNum + i).ToString().PadLeft(5, '0') + ".tif");

                                    draw.Export(pg, outputPath, "TIFF");
                                }
                            }
                        
                        }

Please provide a link to a minimal sample where the issue is reproducible:

The XFDF you provided has the following entries, which I’ve never seen before.

<imagedata>http://localhost:1026/DocumentViewer/GetStampedImage?eFileID=150b17f9-670b-4ddb-9a8d-2e04d85f44b0&amp;instrumentNo=D2023-004514&amp;fileName=pgstamp-797.png</imagedata>

Where did this data come from?
How exactly did you generate the XFDF file?