helper script to create an animated background in e17
Five more or less easy steps assuming you use elive and you have perl installed (which you have when u use elive):
- Put all the png's of your animation (aka logo) ordered numerically (xyz00001.png xyz00002.png xzz00003.png ...) in a directory created for this purpose. Put the background image there too.
- Rename your background image to bgimage.png or save the attached one there.
- Copy the attached template (template.edc) to this directory.
- Change to this directory (if you haven't yet)
- Execute the attached perl script (perl mk17bg.pl.txt).
Then you should get a file called mk17bg.edj which - if moved to .e/e/backgrounds - should show up in Configuration->Configuration Panel->Background Settings. The location of the animated logo (formerly knnown as xyz00001.png etc) can be tweaked by changing the values in the template, more specifically here:
part {
name: "elogo";
description {
state: "default" 0.0;
rel1 {
relative: 0.255 0.41;
offset: 0 0;
}
rel2 {
relative: 0.305 0.48;
offset: 0 0;
}
Have fun!
I'll probably develop the whole thing further scratching my own itch, stay tuned.
BTW: The template is of course based on the beautiful e17_bg_layered_sky created by the Rasterman himself - including the bgimage (correct me if I'm wrong).
| Attachment | Size |
|---|---|
| mk17bg.pl.txt | 870 bytes |
| template.edc | 1.01 KB |
| bgimage.png | 1.09 MB |

