繁体   English   中英

批量导出Gimp中所有打开的窗口

[英]Batch export all open windows in Gimp

我只是在gimp中手动编辑了200多个.PDF文件,我想一次批量导出所有这些文件(在.PDF中),而不是逐个导出。

我安装了plugin-registry ,但我不确定在这种情况下是否可以利用它。

我认为我需要的是一个脚本/控制台命令,但我对Python一无所知。

谢谢你的帮助。

我遇到了同样的问题。 我的解决方案是:

  1. 将图像复制到子目录
  2. 打开所有复制的图像并按照您的需要进行编辑。
  3. 使用下面提供的saveALL.scm脚本(我不记得我在哪里找到它)。 此脚本将覆盖打开的文件,但会保存对所有打开图像的编辑。
  4. 如果你像我一样,并且你想要编辑的输出文件是一个不同的格式,请跟进ImageMagic并使用mogrify函数转换子目录中的所有文件。

     ; This program is free software ; you can redistribute it and/or modify ; it under the terms of the GNU General Public ; License as published by ; the Free Software Foundation ; either version 2 of the License, or ; (at your option) any later version. ; ; This program is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. (define (script-fu-save-all-images) (let* ((i (car (gimp-image-list))) (image)) (while (> i 0) (set! image (vector-ref (cadr (gimp-image-list)) (- i 1))) (gimp-file-save RUN-NONINTERACTIVE image (car (gimp-image-get-active-layer image)) (car (gimp-image-get-filename image)) (car (gimp-image-get-filename image))) (gimp-image-clean-all image) (set! i (- i 1))))) (script-fu-register "script-fu-save-all-images" "<Image>/File/Save ALL" "Save all opened images" "Saul Goode" "Saul Goode" "11/21/2006" "" ) 

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM