Change Jpeg into progressive Jpeg Image [closed]

孤街醉人 提交于 2019-12-03 12:34:44

问题


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.

Thanks.


回答1:


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

Make a copy before experimenting on a small batch of images!

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

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

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

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

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

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



回答2:


Windows user here - I like to use a tool called irfanview which I have been using over 10 years now, it's a 3MB freeware and can do many sorts of (batch) modifications on images, some in lossless quality. powerful stuff.

I also use & recommend xnview which is available for MAC also and also has a command-line tool.

Simply view the JPEG you wish to convert and choose "save as" from the top left "file" menu and save using "progressive".



来源:https://stackoverflow.com/questions/40127266/change-jpeg-into-progressive-jpeg-image

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