命令行转换图片

title: 命令行转换图片
author: zzidun
date: 2024-03-22 00:00
tags: 软件技巧

多的就不说了, 直接上命令:

ffmpeg jpg 转 jpeg xl

ffmpeg -i input.jpg output.jxl

还可以设置转换的质量(下面那个90就是保留百分之多少画质的意思)

ffmpeg -i input.jpg -q:v 90 output.jxl

convert png 转 jpg, 并且用白色填充背景

convert thunderbird.png -background white -alpha remove thunderbird.jpg
posted on 2026-03-21 14:48  zzidun  阅读(18)  评论(0)    收藏  举报