pdftoimage部分文字丢失
Question
转image格式时,如果pdf中有签字内容, 转成的图片中会丢失签字的内容,有解决办法吗?
Hello @jmx-brain,
I am using machine translation to answer you. By default the annotations are not rendered into the image. I think your missing signature might be an annotation in the PDF file. You should try to enable WithAnnotations in the options (see example below).
Please let me know if this worked.
Greetings, David
你好 @jmx-brain、
我正在使用机器翻译回答您的问题。默认情况下,注释不会呈现在图像中。我认为您丢失的签名可能是 PDF 文件中的注释。您应该尝试在选项中启用 "带注释"(见下面的示例)。
如果有效,请告诉我。
您好、
大卫
PDFtoImage.Conversion.ToImage(pdfStream, options = new(WithAnnotations = true));
Hello @jmx-brain,
I am using machine translation to answer you. By default the annotations are not rendered into the image. I think your missing signature might be an annotation in the PDF file. You should try to enable
WithAnnotationsin the options (see example below).Please let me know if this worked.
Greetings, David
你好 @jmx-brain、
我正在使用机器翻译回答您的问题。默认情况下,注释不会呈现在图像中。我认为您丢失的签名可能是 PDF 文件中的注释。您应该尝试在选项中启用 "带注释"(见下面的示例)。
如果有效,请告诉我。
您好、
大卫
PDFtoImage.Conversion.ToImage(pdfStream, options = new(WithAnnotations = true));
Thanks, David. You saved my day. As for this question, I think he needs to set options to be "WithFormFill: true".