Skip to content

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