Describe the bug
When try to create PDF from multiple images(may have a different image format .jpg, .jpeg, .png, .heic, .heif, .avif) where this format is not supporting .heic, .heif, .avif
PDImageXObject from this class file from library refer this method createFromFileByExtension
To reproduce
Upload any images which have .heic, .heif, .avif format and create PDF
PDF example
Expected behavior
All image format should have supported
Actual behavior
Only this image format are supporting JPG, JPEG, TIF, TIFF, GIF, BMP and PNG
Environment details:
PdfBox-Android version: [e.g. 2.0.27.0]
Android API version: [e.g. API 33]
Additional context
Sample image for HEIC
sample.zip
Describe the bug When try to create PDF from multiple images(may have a different image format .jpg, .jpeg, .png, .heic, .heif, .avif) where this format is not supporting .heic, .heif, .avif
PDImageXObject from this class file from library refer this method createFromFileByExtension
To reproduce Upload any images which have .heic, .heif, .avif format and create PDF
PDF example
Expected behavior All image format should have supported
Actual behavior Only this image format are supporting JPG, JPEG, TIF, TIFF, GIF, BMP and PNG
Environment details:
Additional context Sample image for HEIC sample.zip