将Jpeg改为渐进式Jpeg图像 [英] Change Jpeg into progressive Jpeg Image

查看:933
本文介绍了将Jpeg改为渐进式Jpeg图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从基线Jpeg图像转换为渐进式Jpeg图像。
我的磁盘中存储了10,000个图像。
我尝试了一个网站,但它正在改变一个。 http://www.imgonline.com.ua/eng/compress-image.php
但是我想要批量转换它们。

有没有在线工具或一些编程技术?
那么,请告诉我。

I want to convert from base line Jpeg image to progressive Jpeg image.
There are 10,000 images stored in my Disk.
I tried one website but it is changing one at time.http://www.imgonline.com.ua/eng/compress-image.php But I want to convert them in bulk.

Is there any online tools or some programming techniques?
Then, let me know.

谢谢。

推荐答案

你可以用大多数Linux发行版上安装的 ImageMagick 来做到这一点可用于OSX和Windows。

You can do that with ImageMagick which is installed on most Linux distros and is available for OSX and Windows.

在试验一小批图像之前制作一份副本!

你可以做一整个像这样的JPEG目录:

You can do a whole directory full of JPEGs like this:

mogrify -interlace plane *.jpg

或者,如果你想一次只做一次:

Or, if you want to do one at a time:

convert input.jpg -interlace plane output.jpg

或者,如果你想在Linux / OSX上做一个完整的目录和每个子目录:

Or, if you want to do a whole directory and every subdirectory on Linux/OSX:

find . -iname \*.jpg -exec convert {} -interlace plane {} \;

或者,如果你想要,你可以在Linux / OSX上使用 GNU Parallel 更快地完成工作。请询问是否相关。

Or, you can use GNU Parallel on Linux/OSX if you want to get the job done faster. Please ask if that is relevant.

您也可以使用 jpegtran 进行操作,这样可以更容易安装:

You can also do it with jpegtran which is miles easier to install:

jpegtran -copy none -progressive input.jpg output.jpg

这篇关于将Jpeg改为渐进式Jpeg图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆