-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
5.0
-
generic
-
generic
Name: viR10068 Date: 09/30/2003
The CCC request 4641872 and API spec for jdk 1.5.0-b21 say
for the BMPImageWriteParam constructors:
"Constructs an BMPImageWriteParam object with default values
for all parameters".
But the current spec does not provide the list of these
parameters/ values. The phrase 'all parameters' should be
specified more strictly to define the compatible behavior
of any implementation of the API.
Note that the default values of the BMPImageWriteParam fields
are not the same as of the ImageWriteParam.
For example, according to the description of the
javax.imageio.ImageWriteParam the default mode for the compression
is MODE_COPY_FROM_METADATA but the methods
BMPImageWriteParam.getCompressionMode() returns the MODE_EXPLICIT
as default value.
======================================================================