Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create PDF from a file(Images) doesn't support HEIC, HEIF, AVIF format #564

Open
vandanapatel-wk opened this issue Feb 29, 2024 · 0 comments
Labels
type: bug Existing feature doesn't work correctly

Comments

@vandanapatel-wk
Copy link

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

@vandanapatel-wk vandanapatel-wk added the type: bug Existing feature doesn't work correctly label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Existing feature doesn't work correctly
Projects
None yet
Development

No branches or pull requests

1 participant