---

How do you optimize and compress your holiday images from the command line?

How do you optimize and compress your holiday images from the command line?

I use jpegoptim and OptiPNG tools to compress my jpeg and png format images.

For example,

# jpegoptim ravi.jpeg
# optipng ravi.png

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis