Page 1 of 1

Progressive jpg

Posted: 2013-08-19T11:38:55-07:00
by dan
Hi,

I'd like to make sure that my jpgs are NOT interlaced (don't want progressive jpg).

Tried all kind of scripts but didn't get it right...

any advice will be appreciated!!

Thanks

Re: Progressive jpg

Posted: 2013-08-19T11:54:07-07:00
by dan
I can obviously run:

convert -interlace none image.jpg new_image.jpg

But when I check the file with gimp it seems interlaced...

Re: Progressive jpg

Posted: 2013-08-19T12:39:57-07:00
by fmw42
In proper IM 6 syntax you need to read the input image first, so try

convert image.jpg -interlace none new_image.jpg

If that does not work, please provide a link to your image. You can host it on any free Image Hosting web site such as dropbox, etc.

Also what version of IM and what platform.

Please see viewtopic.php?f=1&t=9620

Re: Progressive jpg

Posted: 2013-08-19T14:41:43-07:00
by dan
Thanks!!

Seems like it's doing the trick. I'm checking the file with:

identify -verbose new_file.jpg

and it shows:
Interlace: None

Does it mean that the jpeg is not progressive or do I need something else?

Re: Progressive jpg

Posted: 2013-08-19T15:57:13-07:00
by GreenKoopa
ImageMagick is great at image processing. It has many options when writing JPEGs. If your command is the last step of a longer process, fmw42's advice is perfect. But if you are only modifying jpeg attributes such as the coding, a jpeg specific tool, such as jpegtran, will work faster and with zero loss of image quality.

Re: Progressive jpg

Posted: 2013-08-19T19:02:55-07:00
by fmw42
Does it mean that the jpeg is not progressive or do I need something else?
If the verbose info say interlace none, then the resulting jpg is not progressive

see
http://www.imagemagick.org/script/comma ... #interlace

"Use Line or Plane to create an interlaced PNG or GIF or progressive JPEG image.