Giter Site home page Giter Site logo

d-j-a-y / gimp2synfig Goto Github PK

View Code? Open in Web Editor NEW
17.0 7.0 3.0 88 KB

fork of synfigexport.py - Gimp python fu plugin for exporting to Synfig Studio file format (.sifz)

License: Other

Python 100.00%
synfig gimp graphics raster export gimp-2-8 gimp-2-10 gimp-plugin synfig-studio

gimp2synfig's People

Contributors

alexdeveloper714 avatar d-j-a-y avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gimp2synfig's Issues

Plugin does not work on GIMP 2.10.20.

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.

can't pickle Grouplayer objects!!! GIMP 2.10

screenshot from 2018-06-20 16-36-34
can't export any XCF project to SIF containing a grouplayer in GIMP 2.10. only if I delete all the grouplayers and hit Group in a single switch layer (synfig> =1.0) OPTION which I don't need by the way

Gimp 2.10.8 giving error 28

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

Error when trying to export from not saved file (and no output path)

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'

Do I need to set permission on synfigfu.py too?

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

Update to Python 3

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

Keyerror 28

screen shot 2018-09-03 at 9 27 22 pm

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.