Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We were returning arbitrary image type codes when reading the image binary from the PDF, e.g. "flate", even though they never would correspond to a meaningful image file extension. This fix catches type codes not corresponding to known image file extensions and cause such images to be converted to PNG images (via an intermediate Pixmap).
- Loading branch information