Unhandled ZeroDivisionError in _extended_image_frombytes #2783
Labels
is-robustness-issue
From a users perspective, this is about robustness
workflow-images
From a users perspective, image handling is the affected feature/workflow
When extracting an image that contains no data, a
ZeroDivisionError
is thrown in theexcept
block of the_extended_image_frombytes
method.This exception should be handled.
Environment
Code + PDF
This is a minimal, complete example that shows the issue:
pdf_with_one_pixel_image.pdf
Traceback
This is the complete traceback I see:
The text was updated successfully, but these errors were encountered: