public class ImageEncodeConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
ImageEncodeConfig() |
ImageEncodeConfig(ImageEncodeConfig source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getFormat()
Get Image format.
|
Long |
getQuality()
Get Relative image quality.
|
void |
setFormat(String Format)
Set Image format.
|
void |
setQuality(Long Quality)
Set Relative image quality.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ImageEncodeConfig()
public ImageEncodeConfig(ImageEncodeConfig source)
public String getFormat()
public void setFormat(String Format)
Format
- Image format. Valid values: JPEG, PNG, BMP, and WebP. If it is not specified, the original image format is used. Animations are not supported.
Note: This field may return null, indicating that no valid value can be obtained.public Long getQuality()
public void setQuality(Long Quality)
Quality
- Relative image quality. Valid range: 1 - 100. The value is based on the original image quality, and the default is the original image quality.
Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.