Importing GIMP (XCF) images

From Synfig Studio :: Documentation
Jump to: navigation, search
m (intralink to script archive : File:Synfigexport-py.txt)
m ({{TOCright}} + update license section)
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
{{Category|ImportArt}}
 
{{Category|ImportArt}}
 
{{NewTerminology}}
 
{{NewTerminology}}
 +
{{TOCright}}
 
<!-- Page info end -->
 
<!-- Page info end -->
 
=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/latest 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 16: Line 17:
 
To make it work, Gimp must support [http://python.org Python], and the most recent version of Python must be installed on your computer.  
 
To make it work, Gimp must support [http://python.org 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 {{literal|~/.gimp-*/plug-ins/}} and make it executable {{literal|chmod +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]]
Line 40: Line 42:
 
=License=
 
=License=
  
Author: IL'dar AKHmetgaleev aka AkhIL - [http://blog.akhil.ru/ blog akhil]
+
Author: IL'dar AKHmetgaleev aka AkhIL - [http://blog.akhil.ru/ blog akhil : original work]
 +
Contributor : d.j.a.y [https://github.com/d-j-a-y/Gimp2Synfig Gimp2Synfig : updated fork]
  
 
This program is licensed under Creative Commons Attribution 3.0 Unported License. Distribution and updating of the code is appreciated.
 
This program is licensed under Creative Commons Attribution 3.0 Unported License. Distribution and updating of the code is appreciated.

Latest revision as of 09:55, 4 July 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 : original work Contributor : d.j.a.y Gimp2Synfig : updated fork

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ă • русский