frakbot / FWeather

A weather widget for Android based upon Tobias van Scheider's Authentic Weather design.
https://play.google.com/store/apps/details?id=net.frakbot.FWeather
91 stars 34 forks source link

Images #70

Closed XhmikosR closed 10 years ago

XhmikosR commented 10 years ago

I used PNGOut /r, deflopt and zopfli. All conversions are lossless.

I haven't tested it in a real build on my phone, so please try it.

Size changes https://gist.github.com/XhmikosR/0aad57c5eea1787dae3c

rock3r commented 10 years ago

Thanks for your pull request!

I'm not going to merge it though, because the first commit doesn't change anything but a few whitespaces (which I'll merge manually in a few minutes) and the second commit has become useless, as I've already PNG-crunched all drawables as of fa2e7ef this afternoon.

Sorry!

XhmikosR commented 10 years ago

Nope, the second patch is after your patch.

This is the best compression workflow I've found and your way is simply not as good ;)

rock3r commented 10 years ago

Uh, ok. Can't figure out why there should be any appreciable difference in the PNG sizes though. I'm checking this out more carefully and I'll merge it if it's actually the case.

XhmikosR commented 10 years ago

Just test if everything shows up right on your phone.

Size-wise this is the best you will get without losing quality.

zopfli is a new compression algorith compatible with zlib decoders, developed by google and offers ~5% better compression, but it's very slow. That, along with the multiple passes and PNGOut and various blocksizes offers the best compression.

rock3r commented 10 years ago

Thanks!

XhmikosR commented 10 years ago

Thanks. Do you have the size difference for the apk since v2.1.3?

rock3r commented 10 years ago

Yes. Release builds.

2.1.3 1,53 MB (1.608.238 bytes) now 1,53 MB (1.608.076 bytes)

XhmikosR commented 10 years ago

OK, thanks!