All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.model.imagex.v2.CreateImageTemplateBodyOutputExtra Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.model.imagex.v2;


import com.alibaba.fastjson.JSON;

/**
 * CreateImageTemplateBodyOutputExtra
 */
@lombok.Data
public final class CreateImageTemplateBodyOutputExtra  {

    /**
     * 

是否压缩颜色空间,取值如下所示:

* * * *

- `true`:是

* *

- `false`:否

*/ @com.alibaba.fastjson.annotation.JSONField(name = "png.use_quant") private String pngUseQuant; /** *

是否采用 jpeg 渐进编码格式,取值如下所示:

* * * *

- `true`:是

* *

- `false`:否

*/ @com.alibaba.fastjson.annotation.JSONField(name = "jpeg.progressive") private String jpegProgressive; /** *

仅当OutputFormat取值为heic时配置有效

* *

是否开启 ROI 编码,取值如下所示:

* * * *

- `true`:是

* *

- `false`:否

*/ @com.alibaba.fastjson.annotation.JSONField(name = "heic.roi") private String heicRoi; /** *

仅当OutputFormat取值为heic时配置有效

* *

色位深度,值越大则提供的图像色彩范围越多,使图像颜色变化的更细腻,但图像体积也会增大。取值如下所示:

* * * *

- `8`:8bit

* *

- `10`:10bit

*/ @com.alibaba.fastjson.annotation.JSONField(name = "heic.encode.depth") private String heicEncodeDepth; /** *

仅当OutputFormat取值为heic时配置有效

* *

缩略图比例。在原图基础上,编码缩小一定倍数的小分辨率图片,跟大图一起封装在同一张图片中,缩小倍数不建议过大,一般为 5~10 之间相对合理。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "heic.thumb.ratio") private String heicThumbRatio; /** *

仅当OutputFormat取值为heic时配置有效

* *

是否带透明通道编码,取值如下所示:

* * * *

- `true`:是

* *

- `false`:否

*/ @com.alibaba.fastjson.annotation.JSONField(name = "heic.alpha.reserve") private String heicAlphaReserve; /** *

指定 jpeg 体积的输出大小,需同时设置 `jpeg.size.fixed.padding`,二者缺一不可。

* *

指定输出体积大小,单位为 Byte。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "jpeg.size.fixed") private String jpegSizeFixed; /** *

指定 jpeg 体积的输出大小,需同时指定 `jpeg.size.fixed`,二者缺一不可。

* *

体积填充方式,取值固定为 `append`。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "jpeg.size.fixed.padding") private String jpegSizeFixedPadding; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "heic.aq.mode") private String heicAqMode; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "heic.quality.adapt.pixlimit") private String heicQualityAdaptPixlimit; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "heic.quality.adapt.version") private String heicQualityAdaptVersion; /** *

jpeg 的 alpha 图片是否降级为 png,指定为 `png` 时表示降级为 png 格式。缺省情况下默认为空,表示不降级。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "jpeg.alpha.demotion") private String jpegAlphaDemotion; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "jpeg.quality.adapt.pixlimit") private String jpegQualityAdaptPixlimit; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "jpeg.quality.adapt.version") private String jpegQualityAdaptVersion; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "webp.quality.adapt.pixlimit") private String webpQualityAdaptPixlimit; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "webp.quality.adapt.version") private String webpQualityAdaptVersion; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "avif.demfmt") private String avifDemfmt; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "heic.demfmt") private String heicDemfmt; @Override public String toString() { return JSON.toJSONString(this); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy