|
2010-07-28
, 21:17
|
Posts: 1,141 |
Thanked: 781 times |
Joined on Dec 2009
@ Magical Unicorn Land
|
#542
|
find /path/to/themes/ -name \*.png -exec advpng -z4 '{}' \; -exec optipng -o7 '{}' \; -exec advpng -z4 '{}' \; -exec advdef -z4 '{}' \;
|
2010-07-28
, 21:32
|
Posts: 245 |
Thanked: 233 times |
Joined on May 2010
@ Ljubljana, Slovenia
|
#543
|
Hi D-Livil,
I love your themes and this package is really awesome.
You (and every other theme author) can greatly reduce the size of your themes by optimizing the PNG files.
[snip]
|
2010-07-28
, 21:50
|
|
Posts: 199 |
Thanked: 156 times |
Joined on May 2010
@ Holland
|
#544
|
|
2010-07-28
, 22:13
|
Posts: 194 |
Thanked: 127 times |
Joined on Mar 2010
@ Manchester, UK
|
#545
|
Menus are displayed using zenity and I don't have a clue how to hildonize it. But zenity is open source and someone could indeed do something for it's dialogs.
|
2010-07-28
, 23:01
|
Posts: 1,067 |
Thanked: 313 times |
Joined on Sep 2009
@ USA
|
#546
|
|
2010-07-29
, 03:21
|
|
Posts: 2,154 |
Thanked: 2,186 times |
Joined on Dec 2009
@ Hellsinki, Finland
|
#547
|
maaan. i installed the pack 2 to try the pleego and now even though i uninstalled pack 2, i cannot get it to go back to the plain black plastic it was before.
that meego background just will not go away. i choose the standard theme from nokia, and it was fine, then i changed to a liquid gold and it is fine, but every time i change it back to the standard black, it puts that meego background back on....i even tried to change the background to black plastic and same issue.
|
2010-07-29
, 03:23
|
Posts: 1,067 |
Thanked: 313 times |
Joined on Sep 2009
@ USA
|
#548
|
|
2010-07-29
, 03:55
|
|
Posts: 2,154 |
Thanked: 2,186 times |
Joined on Dec 2009
@ Hellsinki, Finland
|
#549
|
yes. not the first time it happened to me.
i just uninstalled all the theme packs and black plastic, then reinstalled only the black-plastic-theme and the plastic-pack-1
working good now.
|
2010-07-29
, 03:57
|
|
Posts: 2,154 |
Thanked: 2,186 times |
Joined on Dec 2009
@ Hellsinki, Finland
|
#550
|
Hi D-Iivil,
I love your themes and this package is really awesome.
You (and every other theme author) can greatly reduce the size of your themes by optimizing the PNG files.
In dealing with PNG files on the web I've traditionally used a voodoo combination of optimizers to achieve the best results. By using this same process on all of the PNG files in your black-plastic-theme plus theme packs 1 and 2, I was able to reduce the size on disk by 37%.
The "voodoo" is that I run advpng, optipng, advpng, advdef, in that order, all on max settings (-z4 for advpng/advdef and -o7 for optipng). From my experience running them in this order and this combination seems to give the best results. (If anyone knows a better way, I'm happy to hear it).
These tools are available from:
http://advancemame.sourceforge.net/comp-readme.html
http://optipng.sourceforge.net/
They are also available to run on the device by installing the optipng and advancecomp packages in an Easy Debian chroot.
This does not change the image at all (optimized are pixel-identical to original), it simply optimizes the way the data is compressed in the file (pkzip deflate method).
For example, I installed black-plastic-theme and the packs 1 and 2, and then optimized the PNG files in /usr/share/themes/blackplastictheme-themedir
Original size of /usr/share/themes/blackplastictheme-themedir:
40,791,038 bytes
Optimized size of /usr/share/themes/blackplastictheme-themedir:
25,900,014 bytes
almost 15 megabytes of savings!
I ran this command to recursively run the 4 commands on every file (there are 100 ways to accomplish this same thing, I know...)Code:find /path/to/themes/ -name \*.png -exec advpng -z4 '{}' \; -exec optipng -o7 '{}' \; -exec advpng -z4 '{}' \; -exec advdef -z4 '{}' \;
The Following 2 Users Say Thank You to d-iivil For This Useful Post: | ||
if i did help you, just click "Thanks" on the lower right of my post. thanks!
"The best way to break a Spell is to prevent it from being cast in the first place"
N900: 1000/1150mhz; sampling_rate 15; up_threshold 150000;