Hi Philip, I'm getting an UnsupportedOperationException in PLImage using certain images.
The exception message is:
Caused by: java.lang.UnsupportedOperationException: BITMASK Transparency JPEG compression is not useful, use LosslessImageFactory instead
My BufferedImage is obtained by from a URL however I'm sorry but I can't give that to you so instead I have attached the image itself.
I've been able to implement my own AbstractPLImagewhich uses LosslessFactory.createFromImage() to return a PDImageXObject and use this class in place of your PLImage. However I was wondering if you were aware of this problem and decided to raise this issue.
Hi Philip, I'm getting an UnsupportedOperationException in PLImage using certain images. The exception message is:
My BufferedImage is obtained by from a URL however I'm sorry but I can't give that to you so instead I have attached the image itself.
I've been able to implement my own
AbstractPLImage
which usesLosslessFactory.createFromImage()
to return aPDImageXObject
and use this class in place of your PLImage. However I was wondering if you were aware of this problem and decided to raise this issue.Thank you.