以下是一些在Debian系统中使用GIMP进行图像格式转换的技巧:
gimp-console
命令,如gimp-console -i -b '(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE "input.jpg" "input.jpg")))) (gimp-file-save RUN-NONINTERACTIVE image "output.png" "output.png") (gimp-image-delete image))'
,将“input.jpg”和“output.png”替换为实际文件名和路径即可。