You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 AbstractPLImage which 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.
Thank you.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: