Click to See Complete Forum and Search --> : Gzip compresssion on images


Moldarin
04-16-2007, 10:59 AM
Hi,

I know you can use the Apache module mod_deflate to gzip images, and other content. But is there a way to pre-compress the images and store them on the server as gzipped files?

User agents (browsers) would of course need to render them as regular images (if the agent support gzip, of course).

tracknut
04-16-2007, 01:42 PM
For a web site, I'm not sure any of the relevant image file formats would be helped by running them though gzip. Ie, the typical formats (jpeg, gif, png) are normally compressed already. Or maybe I'm missing the point of the question?

Dave

Moldarin
04-16-2007, 01:52 PM
Images where just examples.

My CSS style sheet served with gzip is 65% smaller than without compression. However I am moving to a web host that do not allow me to use mod_deflate. So I need to explore other options.

I know SVG images can be stored in a precompressed format (.svgz), but what about other files?