Located in compilation unit of com.
| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| private static final float | DEFAULT_QUALITY
Default quality level = 0.5 ie medium compression |
| private static final String[] | |
| private static final float[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | getCompressionQualityDescriptions()
Overrides javax. Returns an array of |
| public float[] | getCompressionQualityValues()
Overrides javax. Returns an array of |
| public boolean | Returns: true.Overrides javax. Returns |
| public void | unsetCompression()
Overrides javax. Removes any previous compression quality setting. |
| compressionNames | back to summary |
|---|---|
| private static final String[] compressionNames | |
| DEFAULT_QUALITY | back to summary |
|---|---|
| private static final float DEFAULT_QUALITY Default quality level = 0.5 ie medium compression | |
| qualityDescs | back to summary |
|---|---|
| private static final String[] qualityDescs | |
| qualityVals | back to summary |
|---|---|
| private static final float[] qualityVals | |
| PNGImageWriteParam | back to summary |
|---|---|
| pack-priv PNGImageWriteParam(Locale locale) | |
| getCompressionQualityDescriptions | back to summary |
|---|---|
| public String[] getCompressionQualityDescriptions() Overrides javax. Doc from javax. Returns an array of As an example, the strings "Good", "Better", and "Best"
could be associated with the ranges If no descriptions are available, The descriptions should be localized for the
If there are multiple compression types but none has been set,
an The default implementation checks that compression is
supported and that the compression mode is
| |
| getCompressionQualityValues | back to summary |
|---|---|
| public float[] getCompressionQualityValues() Overrides javax. Doc from javax. Returns an array of If no descriptions are available, If there are multiple compression types but none has been set,
an The default implementation checks that compression is
supported and that the compression mode is
| |
| isCompressionLossless | back to summary |
|---|---|
| public boolean isCompressionLossless() Overrides javax. Returns
| |
| unsetCompression | back to summary |
|---|---|
| public void unsetCompression() Overrides javax. Removes any previous compression quality setting. The default implementation resets the compression quality
to
| |