Notices


Reply
Thread Tools
Posts: 1,729 | Thanked: 388 times | Joined on Jan 2010 @ Canada
#541
Originally Posted by D-Iivil View Post
pleego is in pack 2:
http://maemo.org/packages/view/plastic-addon-pack-2/
uhhhh.......am always lost on links to vote.
__________________
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;
 
Posts: 1,141 | Thanked: 781 times | Joined on Dec 2009 @ Magical Unicorn Land
#542
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 '{}' \;

Last edited by stlpaul; 2010-07-29 at 03:06.
 

The Following 3 Users Say Thank You to stlpaul For This Useful Post:
Posts: 245 | Thanked: 233 times | Joined on May 2010 @ Ljubljana, Slovenia
#543
Originally Posted by stlpaul View Post
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]

I am gonna try this, can't be worse as is

Thanks!
 
Berserk's Avatar
Posts: 199 | Thanked: 156 times | Joined on May 2010 @ Holland
#544
Outstanding work, I really love this
 
Posts: 194 | Thanked: 127 times | Joined on Mar 2010 @ Manchester, UK
#545
Originally Posted by D-Iivil View Post
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.
D-Livil, I'm merely a humble 'end user' of the N900. I really love the device, but your creations make me love it just that much more. Thank you for your hard work and huge creative talent. I'm really hoping that you're around for the N9- next generation!
 
Posts: 1,067 | Thanked: 313 times | Joined on Sep 2009 @ USA
#546
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.
 
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#547
Originally Posted by ceroberts75 View Post
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.
Will look into this. You are sure you are using lates 2.203 version of black plastic?
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE
 
Posts: 1,067 | Thanked: 313 times | Joined on Sep 2009 @ USA
#548
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.
 
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#549
Originally Posted by ceroberts75 View Post
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.
The reason I asked was because that sounded like a bug that was present in 2.201 which I thought I fixed :P

Well, once again I cannot reproduce the issue on my device But I'll keep my eye on this, I'm gonna update some things today anyway.
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE
 
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#550
Originally Posted by stlpaul View Post
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 '{}' \;
Thanks for the info! This was new to me. I'm gonna try this (if I manage to install those on my Ubuntu machine) and implement optimized pngs into next update if there's no quality loss
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE
 

The Following 2 Users Say Thank You to d-iivil For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:47.