Importing GIMP (XCF) images

From Synfig Studio :: Documentation
Jump to: navigation, search
m (Installation and usage: chmod u+x)
m (Installation and usage: update to new version)
Line 9: Line 9:
 
=Introduction=
 
=Introduction=
 
To simplify the work of animating my cartoon about a mouse, a plug-in for the [http://gimp.org/ GIMP] raster editor has been written, to allow the direct exporting of multi-layered images to corresponding layers of the 2D animation package Synfig.
 
To simplify the work of animating my cartoon about a mouse, a plug-in for the [http://gimp.org/ GIMP] raster editor has been written, to allow the direct exporting of multi-layered images to corresponding layers of the 2D animation package Synfig.
=Installation and usage=
+
=Installation=
You can download the [http://akhilman.googlepages.com/synfigexport.py synfigexport plugin here].
+
You can download the [https://github.com/d-j-a-y/Gimp2Synfig/releases/tag/16.02.25 synfigexport plugin here].
  
 
<!-- NOTA : you can use File:Synfigexport-py.txt has archive 15/11/19 in case -->
 
<!-- NOTA : you can use File:Synfigexport-py.txt has archive 15/11/19 in case -->
Line 18: Line 18:
 
From Gnu/Linux operating system like, to install this plug-in, simply put the file in {{literal|~/.gimp-*/plug-ins/}} and make it executable {{literal|chmod u+x synfigexport.py}}, then restart gimp.
 
From Gnu/Linux operating system like, to install this plug-in, simply put the file in {{literal|~/.gimp-*/plug-ins/}} and make it executable {{literal|chmod u+x synfigexport.py}}, then restart gimp.
  
The plug-in registers itself in the GIMP File menu {{c|<File>|Synfig}}.
+
The plug-in registers itself in the GIMP Export File dialog box {{c|<File>|Export}}.
  
[[File:Gimp2Synfig-01.jpeg|center]]
+
<!--  [[File:Gimp2Synfig-01.jpeg|center]] -->
  
Firstly, from Gimp, save your image.
+
=Usage=
 
+
* Firstly, from Gimp, save your image.
There are export options you can choose. If the field {{Literal|output path}} is empty, the synfig canvas will be kept in the same directory as the initial picture.
+
* Open the Export (or "Export As") dialog box, select "Synfig Studio" has file type (.sifz), choose a destination folder and a name, and exports gimp document to synfig's canvas and png images.
 +
* There are export options you can choose.
  
 
[[File:Gimp2Synfig-02.png|center]]
 
[[File:Gimp2Synfig-02.png|center]]

Revision as of 11:06, 3 June 2016

Languages Language: 

English • español • français • italiano • română • русский


Introduction

To simplify the work of animating my cartoon about a mouse, a plug-in for the GIMP raster editor has been written, to allow the direct exporting of multi-layered images to corresponding layers of the 2D animation package Synfig.

Installation

You can download the synfigexport plugin here.


To make it work, Gimp must support Python, and the most recent version of Python must be installed on your computer.

From Gnu/Linux operating system like, to install this plug-in, simply put the file in "~/.gimp-*/plug-ins/" and make it executable "chmod u+x synfigexport.py", then restart gimp.

The plug-in registers itself in the GIMP Export File dialog box "<File> → Export".


Usage

  • Firstly, from Gimp, save your image.
  • Open the Export (or "Export As") dialog box, select "Synfig Studio" has file type (.sifz), choose a destination folder and a name, and exports gimp document to synfig's canvas and png images.
  • There are export options you can choose.
Gimp2Synfig-02.png

Here is the result:

Initial Gimp image Imported into Synfig
Gimp2Synfig-03.jpeg
Gimp2Synfig-04.jpeg

License

Author: IL'dar AKHmetgaleev aka AkhIL - blog akhil

This program is licensed under Creative Commons Attribution 3.0 Unported License. Distribution and updating of the code is appreciated.


Languages Language: 

English • español • français • italiano • română • русский