簡體   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