Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting one png per frame causes an exception to be thrown. #23

Open
illegalinstruction opened this issue Feb 2, 2020 · 1 comment
Assignees

Comments

@illegalinstruction
Copy link
Collaborator

To Repro:

  1. Create a multiframe document.
  2. Choose File->Export.
  3. In the formats menu of the file dialogue, choose One PNG image for animation frame (*-XXX.png).
  4. Click Save and observe the results.

The problem stems from lib/animation.py, line 192 - this needs to be cel.save_as_png(filename, *doc_bbox, **kwargs), but there's something else required here - by default, a layer only seems to know to export itself, but not the backdrop image, so some additional tinkering in lib/layer.py might be needed.

I can try to look into it this week and submit a patch.

@illegalinstruction
Copy link
Collaborator Author

Note that this won't fix the background problem, which really should be broken out into a separate ticket (due to complexity and being in a different part of the code).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant