Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
我为此目的使用了 ImageMagick。它由很多东西组成,其中包括一组命令行工具,可用于将图像操作相互链接。
在命令行上进行实验很有趣,将其复制到脚本中并让它撕裂数千张图像。我发现生成的图像的默认质量也相当不错。
这是网站。我在Linux下使用它,但我看到也有Windows版本。
I used ImageMagick for that purpose. It consist of a lot of things, among which a set of commandline tools that can be used to chain image operations along each other.
It is fun to experiment on the commandline, copy it in a script and let it rip over a couple thousand images. I found the default quality of the resulting images also pretty good.
Here is the website. I used it under Linux, but I saw there is a windows version too.
如果您正在寻找一种非编程方法(这里有点错误的想法...)您可以尝试 IrfanView< /a> 的批处理功能。它是一个轻量级的图像编辑器,可让您根据一些简单的条件(例如文件尺寸等)批量转换图像
If you are looking for a non-programming approach (kind of the wrong idea here on SO...) you could try IrfanView's batch feature. It's a lightweight image editor that will let you batch convert images based on a few simple criteria (such as file dimensions, etc.)
对于优化 png,pngout 是王道
For optimizing png's, pngout is king
http://icompressor.blogspot.in/ 海量图像压缩器的工作是压缩所有图像单个文件夹。它没有命令行参数或智能机制来自动决定压缩级别,但它为您提供了一个示例压缩,让您根据您设置的压缩参数感受到压缩的感觉。
http://icompressor.blogspot.in/ Mass Image Compressor does the job of doing compression of all the images in single folder. It doesn't have command line arg or intelligent mechanism to automatically decide compression levels but it provides you a sample compression to give you feel of compression based on compression parameters that you have set.
过去我遇到过这个问题,并找到了一种压缩 JPEG 图像的方法。这个答案不能帮助你压缩PNG或其他格式,但可以帮助你压缩JPEG。
我发现 Windows XP 的 MS Paint 应用程序非常适合此目的。它可以很好地压缩 JPEG 图像,没有任何明显的损失。因此,我编写了一个实用程序来批量压缩文件。这是链接: AutoSavePaint 1.7.0.2
自发布以来,它已经帮助了很少的人已发布。我希望它也能帮助你! :)
In the past I faced this problem, and found a way to compress JPEG images. This answer cannot help you compress PNG or other formats, but JPEG.
I found that Windows XP's MS Paint app is wonderful for this purpose. It compresses a JPEG image very nicely without any visible loss. So, I wrote a utility to mass compress the files. Here is the link: AutoSavePaint 1.7.0.2
It has helped few a people since it was published. I hope it helps you too! :)