Using "convert -interlace ..." on files with no such support

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
mattalexx

Using "convert -interlace ..." on files with no such support

Post by mattalexx »

I'm using the cli tool to create thumbnails. I want to add "-interlace none" to the convert command. For which image types is this command valid? Will I get an error if I execute it on a wrong image file type?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Using "convert -interlace ..." on files with no such sup

Post by fmw42 »

mattalexx wrote:I'm using the cli tool to create thumbnails. I want to add "-interlace none" to the convert command. For which image types is this command valid? Will I get an error if I execute it on a wrong image file type?
I don't know all the file types that support interlacing, but adding -interlace none to your command should not hurt. I tried it on jpg, png, tif, gif and bmp and no complaints.

For image formats that support interlacing (gif and png and others), see

http://en.wikipedia.org/wiki/Interlace_(bitmaps)

I don't know whether IM supports interlacing in each of them

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