Details
Description
A community member has submitted a patch to avoid a compatibility issue when creating an image buffer on a system remote desktop system. Basically the created buffer is using:
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().createCompatibleImage()
Is returning an image which is backed with DataBuffer of type DataBufferUShort. The short DataBuffer causes as cast exception when we try and decode the associated raw data stream and apply a color model.
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().createCompatibleImage()
Is returning an image which is backed with DataBuffer of type DataBufferUShort. The short DataBuffer causes as cast exception when we try and decode the associated raw data stream and apply a color model.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #52813 | Wed Nov 28 20:28:19 MST 2018 | patrick.corless | to get correct graphics configuration. |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/images/ImageUtility.java
|