Mobile app version of vmapp.org
Login or Join
Ann6370331

: Importing eps files as layers in Gimp I have been trying to create an animation using 300 eps files. When I try to open all the 300 files as layers (File -> open As Layers), a dialog box

@Ann6370331

Posted in: #Gimp

I have been trying to create an animation using 300 eps files.
When I try to open all the 300 files as layers (File -> open As Layers),
a dialog box appears for each file with the heading "Import from Postscript" .

I have to click on "import" button for every image, in order import the images.

Is there a way to avoid the appearance of this dialog box for each image, because clicking "import" for 300 times is not at all a manageable task.

Thank you.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ann6370331

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady304

If you have GIMP-GAP (http://www.gimp.org/tutorials/Using_GAP/) installed then you can use it to load your files.

1) Make sure that all of your frames are named sequentially[*] using a pattern such as "filename_0001.eps", "filename_0002.eps", "filename_0003.eps", ...

2) Open the first file using "Edit->Open" -- this will present you with the postscript settings dialog box. (You will only be presented this dialog once.)

3) Perform "Video->Frames to Image..." to convert the file sequence to a multilayer image.

[*] If your filenames aren't sequential, you can rename them using GNU BASH by running the following command in the directory containing the .eps files.

f=(*.eps);i=($(seq -w 1 ${#f[@]}));for n in $(seq 0 $(expr ${#f[@]} - 1 ));do mv ${f[n]} frame_${i[n]}.eps;done

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme