You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the module, some pdfs generate images with the message.
**** Error: stream operator isn't terminated by valid EOL.. Output may be incorrect.. **** Error: stream operator isn't terminated by valid EOL.. Output may be incorrect
And the image is not readable for the browser.
If I remove the warning, the image is good.
So is it possible to remove the warning in the image ?
Thanks,
Jérémie
The text was updated successfully, but these errors were encountered:
It seems like the reason for the warning is a PDF that does not follow the PDF specification. The error does not come from this library directly, but from Ghostscript dependency.
I can take a look if there's a way to throw an error instead of silently failing and outputting the warning in the image.
For that I need a reproduction repository and a sample of invalid PDF that causes the warning. Can you able to provide this?
Hi @jeremiecourlivant, by reproduction repository I mean a repo I can clone and run without additional setup that would show the error.
Anyway, the PDF is enough. I will try to run it and see if there's something we can do to handle this differently.
Hello,
When I use the module, some pdfs generate images with the message.
**** Error: stream operator isn't terminated by valid EOL.. Output may be incorrect.. **** Error: stream operator isn't terminated by valid EOL.. Output may be incorrect
And the image is not readable for the browser.
If I remove the warning, the image is good.
So is it possible to remove the warning in the image ?
Thanks,
Jérémie
The text was updated successfully, but these errors were encountered: