Difference between revisions of "Doc:Gimp2synfig"

From Synfig Studio :: Documentation
Jump to: navigation, search
m
m ({{TOCright}} + update license section)
 
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
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.
+
<!-- Page info -->
 +
{{Title|Importing GIMP (XCF) images}}
 +
{{Category|Manual}}
 +
{{Category|Tutorials}}
 +
{{Category|Tutorials Intermediate}}
 +
{{Category|ImportArt}}
 +
{{NewTerminology}}
 +
{{TOCright}}
 +
<!-- Page info end -->
 +
=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.
 +
=Installation=
 +
You can download the [https://github.com/d-j-a-y/Gimp2Synfig/releases/latest synfigexport plugin here].
  
The plug-in registers itself in the GIMP image menu <image>-> File-> Export-> Synfig.
+
<!-- NOTA : you can use File:Synfigexport-py.txt has archive 15/11/19 in case -->
  
[http://img246.imageshack.us/my.php?image=gimp2synfigmenuxh9.jpg http://img246.imageshack.us/img246/4126/gimp2synfigmenuxh9.th.jpg]
+
To make it work, Gimp must support [http://python.org Python], and the most recent version of Python must be installed on your computer.  
  
There are export options you can choose. If the field "output path" is empty, the synfig canvas will be kept in the same directory as the initial GIMP document.
+
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.
  
[http://img292.imageshack.us/my.php?image=gimp2synfigsettingsvs3.jpg http://img292.imageshack.us/img292/269/gimp2synfigsettingsvs3.th.jpg]
+
The plug-in registers itself in the GIMP Export File dialog box {{c|<File>|Export}}.
  
Here is the result:
+
<!--  [[File:Gimp2Synfig-01.jpeg|center]] -->
  
[http://img201.imageshack.us/my.php?image=gimp2synfig003yn6.jpg http://img201.imageshack.us/img201/9369/gimp2synfig003yn6.th.jpg]
+
=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.
  
On the left you can see the initial image in Gimp, and on the right the same image imported into Synfig.
+
[[File:Gimp2Synfig-02.png|center]]
  
After adding a scale layer, the images cannot be distinguished.
+
Here is the result:
 
+
[http://img151.imageshack.us/my.php?image=gimp2synfig003withgammafd6.jpg http://img151.imageshack.us/img151/5450/gimp2synfig003withgammafd6.th.jpg]
+
  
You can download the [http://akhil.nm.ru/tools/pygimp/synfigexport.py GIMP2synfig plugin].  Or a [http://dooglus.rincevent.net/random/synfigexport.py fixed version] that also works with GIMP 2.2.
+
{|border="0" align="center" style="border-collapse" cellpadding="3" cellspacing="0"
 +
|-style="background:#silver"
 +
|'''Initial Gimp image'''||'''Imported into Synfig'''
 +
|-
 +
|[[File:Gimp2Synfig-03.jpeg|center|450px]]
 +
|[[File:Gimp2Synfig-04.jpeg|center|450px]]
 +
|}
  
For it to work, GIMP must support Python, and the most recent version of Python must be fully installed.
+
=License=
  
To install it, simply place the file in ~/.gimp-*/plug-ins/ and make it executable (chmod +x synfigexport.py), then restart The GIMP.
+
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 welcomed.
+
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ă • русский