-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
1.4.1
-
x86
-
windows_2000
Name: rmT116609 Date: 04/30/2003
A DESCRIPTION OF THE REQUEST :
ImageWriteParam should have a canWriteUncompressed() method so that a GUI can decide to create a CheckBox (or other GUI element) to switch on/off the compression.
The canWriteCompressed() method allows the current GUI to decide to put such
an CheckBox on the screen, but some formats ONLY allow compressed writing.
Such formats are JPEG and GIF.
There is currently no way (to my knowledge) to find out that a format can only be written compressed.
The GUI would at any time still be able to create GUI Elements for Compression quality and such.
JUSTIFICATION :
To create a corresponding GUI
CUSTOMER SUBMITTED WORKAROUND :
None that I know. Setting CompressionMode(DISABLED) on JPEGWriteParam does not throw an exception, so there is not much one can do.
(Review ID: 185052)
======================================================================
A DESCRIPTION OF THE REQUEST :
ImageWriteParam should have a canWriteUncompressed() method so that a GUI can decide to create a CheckBox (or other GUI element) to switch on/off the compression.
The canWriteCompressed() method allows the current GUI to decide to put such
an CheckBox on the screen, but some formats ONLY allow compressed writing.
Such formats are JPEG and GIF.
There is currently no way (to my knowledge) to find out that a format can only be written compressed.
The GUI would at any time still be able to create GUI Elements for Compression quality and such.
JUSTIFICATION :
To create a corresponding GUI
CUSTOMER SUBMITTED WORKAROUND :
None that I know. Setting CompressionMode(DISABLED) on JPEGWriteParam does not throw an exception, so there is not much one can do.
(Review ID: 185052)
======================================================================
- relates to
-
JDK-4972154 JPEGIWP.setCompressionMode() should throw exception for MODE_DISABLED
-
- Open
-