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

Add support for building pdc sequence from xml animation file #10

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

tardypad
Copy link

Previously #8 (new branch on my fork)

It is now possible to create a pdc sequence based on definition of the animation in a xml file

The format of the xml file is inspired by the one used by apngasm
https://github.com/apngasm/apngasm/blob/master/resources/images/test.xml
which I was using previously in my project
Here is an example of such a file now for pdc
https://github.com/tardypad/pebble-watchface-amsterdam/blob/master/resources/animations/slide/chalk/animation.xml
I've put an example in the code as well as a reference

The benefits of this feature are:

  • avoid duplication of svg frames in a folder
  • possibility to specify different durations per frame

I've added that feature without breaking the previous behavior of the svg2pdc tool
So for example it's still possible to use the sequence building with a folder path

There is as well a couple of tiny changes / fixes in the first commits
Let me know if you want me to split the pull request

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

Successfully merging this pull request may close these issues.

1 participant