2 Oct
2025
2 Oct
'25
12:26 a.m.
Hello all, I have this in my code: print("try to scan image") local image_info = img.scan{filename = filename} print("scanned image") When I have a bad jpeg file (for example a file containing just a few ascii characters), I get this output: try to scan image ! error: (readjpg): no header found ! ==> Fatal error occurred, no output PDF file produced!exit status 1 Is there a way to catch this error without stopping the PDF generation? Thank you Patrick
195
Age (days ago)
195
Last active (days ago)
0 comments
1 participants
participants (1)
-
Patrick Gundlach