d-j-a-y / gimp2synfig Goto Github PK
View Code? Open in Web Editor NEWfork of synfigexport.py - Gimp python fu plugin for exporting to Synfig Studio file format (.sifz)
License: Other
fork of synfigexport.py - Gimp python fu plugin for exporting to Synfig Studio file format (.sifz)
License: Other
On GIMP 2.10.20, the plug-in is not recognized. "Synfig Studio" does not even show up in the File Extensions list on the Export Dialog, and the plug-in does not show up in the Plug-ins Browser either.
Does it support Windows?
I am using the latest version... GIMP 2.10.24, the option to export in Synfig extension does not show up.
Any solution?
Here is the error log as of 11/15/2018:
Traceback (most recent call last):
File "C:\Program Files\GIMP 2\32\lib\gimp\2.0\python/gimpfu.py", line 740, in response
dialog.res = run_script(params)
File "C:\Program Files\GIMP 2\32\lib\gimp\2.0\python/gimpfu.py", line 361, in run_script
return apply(function, params)
File "C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\synfigexport - Copy.py", line 236, in python_fu_exportsynfig
"blend_method":gimp2synfig_mode_converter(l.mode),
File "C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\synfigexport - Copy.py", line 179, in gimp2synfig_mode_converter
return modes[mode]
KeyError: 28
I hope you can fix it, thank you very much
It would be practical that when exporting, it transposes the group structure from Gimp to Synfig
mylayer = img.layer[0]
if pdb.gimp_item_is_group(mylayer):
...
branch : https://github.com/d-j-a-y/Gimp2Synfig/tree/group_layer_wip
The zipped file must have .sif extension not .sifz
Gimp > new file > export > error
AttributeError: 'NoneType' object has no attribute 'split'
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 735, in response
dialog.res = run_script(params)
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 361, in run_script
return apply(function, params)
File "/home/frijol/.gimp-2.8/plug-ins/synfigexportut.py", line 182, in python_fu_exportsynfig
default_prefix = img.filename.split('.xcf')[0]
AttributeError: 'NoneType' object has no attribute 'split'
I have chmod +x *.py
all my python plugins but as soon as i did that, synfig returned an error in console such as:
synfigfu !
*do nothing API*
(draft proof of concept mode used by synfigexport.py Gimp to Synfig plugins)
synfig object (version : 0.0 - draft)
gimp-2.10: LibGimpBase-AVERTISSEMENT: gimp-2.10: gimp_wire_read(): error
So I removed the permission (x bit) on that file and I could export. I thought that maybe this file is only called/read by synfigexport.py
can you enlighten me @d-j-a-y ? thx
Since January 1st 2020 Python 2 reached end of life and newer versions of some distributions no longer ship it. gimp-python
relies on python2 and is not in the repositories of some distributions (such as Ubuntu) which means this plugin no longer works (unless manually compiled).
To ensure it works with future versions of Gimp the plugin will need to be updated to Python 3
Without replacing the animation so that it do not alter the animation
I have a black and blue background in gimp, then when imported to Synfig it's white.
Why?
Each image is inside an useless group in synfig, is it normal?
I have to extract each image from the group when i'm in synfig, is it a bug?
Kind of surprised this python script export script didn't work, really simple layered image. Tried it with all export settings set to no. Pretty sure I have the right version of the script because I remember most of the files say updated 3 years ago except the readme.md.
both files are executable:
chmod u+x synfigexport.py
chmod u+x synfigfu.py
I can't find any info about it :'(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.