Hi,

considering the fact that the icons of this module are viewed to the millions every day, one may think about actually reducing the size of the weather icon files by using 8 bit color depth (which I think for web pictures is pretty standard). In my experiments, this reduced the file size by about one third, while not perturbing the image (well, at least I couldn't spot any difference).
It might also be worthwhile to run OptiPNG over them once.

Cheers,
Nico

Comments

toddy’s picture

Hi,

that's a great idea, thanks a lot! I didn't know about optipng, but I'll use it and release a new module version with some other minor fixes soon.

Regards,
Tobias

nschloe’s picture

For the 8bit depth you could try ImageMagick's

$ convert -depth 8 in.png out.png

and then for size-optimizing

$ optipng out.png
toddy’s picture

Status: Active » Fixed

Hi,

this has been fixed in weather 6.x-5.12.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.