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
Loading a partially broken image, which libjpeg-turbo(?) reports a warning about, does not respect setting mupdf_display_errors(False), thus spamming the output.
This message is not issued by (Py-) MuPDF. Therefore it is not being suppressed by the settings you used. We are checking which of the thirdparty libraries issues the message, and whether there ways to suppress it ... or not.
Just confirming that this message is issued by one of the thirdparty packages used by MuPDF, libjpeg.
So MuPDF's own message filtering has no way to intercept it.
In libjpeg, this is a warning. I will forward your inquiry to our experts to see whether suppression is possible.
Describe the bug
Loading a partially broken image, which
libjpeg-turbo
(?) reports a warning about, does not respect settingmupdf_display_errors(False)
, thus spamming the output.To Reproduce
The broken file is taken from https://github.com/asilvas/node-image-steam/blob/master/test/files/invalid-sos.jpg In my specific case, such images are embedded into a PDF I am extracting the images of, but this simple example raises this error as well.
Output is:
Expected behavior
Hiding MuPDF warnings should allow controlling all warnings, not only the direct ones, thus not printing
Invalid SOS parameters for sequential JPEG
.Your configuration
The text was updated successfully, but these errors were encountered: