OpenPDF
OpenPDF copied to clipboard
WEBP format not supported when try to attach image to PDF in openPdf 1.3.30
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.
Pull Requests are welcome!
Only don't try to re-implement everything in OpenPDF. There is probably a library we can use for that.