Dev:Packed files

From Synfig Studio :: Documentation
Revision as of 17:39, 5 March 2012 by Zelgadis (Talk | contribs) (Concept of packed files)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

As requested here, Synfig Studio needs functionality that would collect all files referenced in a sif and place them all in a tgz for sending elsewhere or publishing animations in source form.

My proposal is that we need to define additional format for such files, containing all referenced data inside. Synfig should be able to open and save those files. This format could be a simple ZIP archive with some extension (.sifp, for example).

The steps to implement:

  1. Define structure of packed file format.
  2. Implement file saving
  3. Implement file loading
  4. Add Media Panel which allows to manage packed data. Basic functions:
    1. Extract packed file
    2. Remove packed file
    3. Convert packed file to external unpacked (external link)
  5. Add "Link" option to Import dialog. This option defines if imported file will be linked as external or packed into current file.
  6. Modify Media Panel - list the external files there too. Add functions for external files:
    1. Convert external file to packed