以下是Linux GIMP文件格式转换技巧:
gimp - console - b '(let* ((image (car (gimp - file - load RUN - NONINTERACTIVE "/path/to/input.jpg" "/path/to/input.jpg")))) (gimp - file - save RUN - NONINTERACTIVE image "/path/to/output.png" "/path/to/output.png") (gimp - image - delete image))',替换为实际路径和格式。此外,可安装插件扩展格式支持,如HEIC格式需安装gimp - heif插件。也可使用脚本或批处理插件实现批量转换。