package
0.3.6
Repository: https://github.com/hopeio/utils.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
crf推荐18-28.
No description provided by the author
不可用,没有注明色彩空间的原因。需要显式写明 像素编码格式、色彩空间、转换色彩空间、目标色彩空间、色彩范围 distance Set the target Butteraugli distance.
JPEG 采用的色彩格式是 YUVJ420P,对应的色彩区间是 0-255,而 WebP 采用的色彩格式是 YUV420P,对应的色彩区间是 16-235,也就是说如果单纯的转码,会丢失 0-15,236-255 的色彩,也就是出现了色差, 颜色空间转移:RGB < - > YUV,这会产生一些舍入误差 多次压缩后webp会出现明显色差,真的会偏绿 图片带选项转webp格式,选项目前支持质量(0-100),ffmpeg默认75 quality推荐75.
图片转webp格式.
No description provided by the author
cpu-used Set the quality/encoding speed tradeoff.
crf推荐18.
crf推荐23.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
webp 无损模式.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
libaom-av1.
libx264.
libx265.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author