Google Page Speed-Like Image Optimization [closed]

可紊 提交于 2019-12-03 15:09:18

问题


My website has about 20 thousand product images. Google Page Speed tells me they can be optimized, and it's correct - the difference is huge. Google is able to maintain identical quality and reduce the image size by 70-90%, and Page Speed even optimizes them for me and provides me with a link to the optimized image. This would be great if I only had a few images, but I can't manually update 20k images. I don't want to make any programmatic changes to handle optimization, I'd rather just run all of my images through a piece of software that can optimize them and replace the existing images. I would greatly appreciate it if someone who has been through this before can recommend a good program that can accomplish a job of this size while still maintaining quality. Thanks.


回答1:


If you're using a Mac I'd recommend http://imageoptim.com since you just drag and drop the files. It saves the files in its original location. For Windows on Adobe AIR some people seem to like Shrink O'Matic - http://toki-woki.net/p/Shrink-O-Matic/




回答2:


I ended up using a service from Yahoo, SmushIt: http://www.smushit.com/ysmush.it/. It can handle several hundred images at a time. I tried uploading 2,500 and it froze, but had no problem doing 400-500. The compression isn't quite as good as Google's, as Google Page Speed still says it can compress some of them an additional 3-8%, however, I've noticed that Google will sometimes reduce image quality, whereas SmushIt maintained exact quality 100% of the time.




回答3:


Here is the download link for Page Speed image optimizer. Cheers!




回答4:


Your best best is to use Google's own PageSpeed script. Just install it on your server and you are good to go!
On Apache: mod_pagespeed
On nginX: ngx_pagespeed




回答5:


This is perfect for image optimization for google: http://outcontrol.net/gpsio-google-page-speed-image-optimizer-optimizar-imagenes-para-google/

kj




回答6:


Never used it. Sounds like it's up your alley though: http://www.imageoptimizer.net/Pages/Home.aspx

Looks like it adds some "promo" text to the bottom of the images unless you pay for it though. Someone else might have a better option.


Almost forgot about this one: http://www.gimp.org/



来源:https://stackoverflow.com/questions/9304870/google-page-speed-like-image-optimization

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!