Replies: 1 comment
-
@dmester gentle ping |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm using pdftosvg.net to render pdf pages as images and show them to users later. Sometimes users are uploading PDF files containing some content pdftosvg.net is not able to render (e.g. JBIG2 compressed image). In such cases I'd like to fallback to other tool rather than show a broken image placeholder which is produced by pdftosvg.net.
My proposal is to add separate property into
SvgConversionOptions
(e.g.ThrowIfCannotBeRendered
) which isfalse
by default.On caller-side I can set the property to
true
and pdftosvg.net will throw an exception when some not-supported feature occur in pdf file.Usage example:
Beta Was this translation helpful? Give feedback.
All reactions