无损图像压缩工具 [英] Tool for lossless image compression
问题描述
在公开网站上运行 Google Page Speed ,我看到了该工具提供的一些建议,如下所示:
Running Google Page Speed on a public site , I saw some suggestions by the tool like the following :
无损压缩 http://g-ecx.images-amazon.com/images/G/01/electronics/detail-page/Acer-120x120._V137848950_.gi 可以节省4.8KiB(减少26%),他们还提供了一个链接到优化的内容。但他们做一个每个图像的基础。我看到压缩后文件大小的一些显着减少。所以问题是:
Losslessly compressing http://g-ecx.images-amazon.com/images/G/01/electronics/detail-page/Acer-120x120._V137848950_.gi could save 4.8KiB (26% reduction) and they also provide a link to the optimized content.But they do it on a per image basis. I saw some significant reduction on file sizes after compression. So the question is :
有没有任何工具或web服务,我可以使用,所以我给它一个未压缩的图像(如.gif)的目录,它返回我一个所有的图像目录压缩?
Is there any tool or web service that I can use so that I give it a directory of uncompressed images(say .gif) and it returns me a directory of images with all of them compressed?
我发现一个有点相关的问题,SO 这里,但它不是完全重复。
I found a somewhat related question on SO here but it is not an exact duplicate.
感谢阅读。
推荐答案
在Mac上,我取得了成功, ImageOptim 。它处理PNG,JPEG和GIF文件在一个drap&并且还可以处理整个目录。
On the Mac, I've had good success with ImageOptim. It handles PNG, JPEG, and GIF files in a drap & drop manner and can also process entire directories. It's also open-source and available in multiple languages.
在Windows上,我使用了 PngOptimizer 和 PNGGauntlet 。与ImageOptim不同,这些程序会将其他格式转换为PNG格式,因此,如果您的目标是减少GIF或JPEG格式并保留为该格式,则不会是一个选项。
On Windows, I've used both PngOptimizer and PNGGauntlet. Unlike ImageOptim, these programs will convert other formats to PNG, so if your goal is to reduce a GIF or JPEG and have it stay in that format, these won't be an option.
您还可以尝试使用Yahoo网站/服务 smush.it ,它可以处理单个文件上传,以及目录zip。
You could also try the Yahoo web site/service smush.it which can handle single file uploads as well as a directory zip.
这篇关于无损图像压缩工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!