OpenPDF is a free Java library for creating and editing PDF files, with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
Other
3.54k
stars
582
forks
source link
WEBP format not supported when try to attach image to PDF in openPdf 1.3.30 #962
Describe the bug
When i upload WEBP image, I can convert it to the byte array
but there is no possibility to convert it to Image object inside openPDF 1.3.30:
Image image = Image.getInstance(pictureArray);
it will return null, because getInstance does not support them
WEBP is not an exotic format, it appears quite often during the work.
Describe the bug When i upload WEBP image, I can convert it to the byte array but there is no possibility to convert it to Image object inside openPDF 1.3.30:
Image image = Image.getInstance(pictureArray);
it will return null, because getInstance does not support them
WEBP is not an exotic format, it appears quite often during the work.