com.volcengine.model.imagex.v2.GetImageMigrateTasksResResultTasksItemTranscode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.imagex.v2;
import com.alibaba.fastjson.JSON;
/**
* GetImageMigrateTasksResResultTasksItemTranscode
*/
@lombok.Data
public final class GetImageMigrateTasksResResultTasksItemTranscode {
/**
* 目标转码格式。支持的格式有 png、jpeg、heic、avif、webp、vvic。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Format")
private String format;
/**
* 降级编码格式。支持的格式有 png、jpeg、heic、avif、webp、vvic。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "DemotionFmt")
private String demotionFmt;
/**
* 包含透明通道的图片是否编码为降级格式。取值如下所示:
*
* - `true`:降级
*
* - `false`:不降级
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AlphaDemotion")
private Boolean alphaDemotion;
/**
* 转码质量参数。对于 PNG 为无损压缩,其他格式下其值越小,压缩率越高,画质越差。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Quality")
private Integer quality;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy