Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdftoimage部分文字丢失 #110

Open
jmx-brain opened this issue Jan 9, 2025 · 1 comment
Open

pdftoimage部分文字丢失 #110

jmx-brain opened this issue Jan 9, 2025 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@jmx-brain
Copy link

Question

转image格式时,如果pdf中有签字内容, 转成的图片中会丢失签字的内容,有解决办法吗?

@jmx-brain jmx-brain added the question Further information is requested label Jan 9, 2025
@sungaila
Copy link
Owner

sungaila commented Jan 9, 2025

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));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants