Page 1 of 1

How to make imagemagick not to open gzipped files

Posted: 2016-01-23T13:26:00-07:00
by binbin
Hi,
I am trying to find a way to prevent imagemagick decompress gzip files automatically as below:

Code: Select all

$ identify iftop.png.gz 
iftop.png.gz=>/tmp/magick-4WiHZryQ PNG 819x461 819x461+0+0 8-bit DirectClass 66.2KB 0.000u 0:00.000
I checked delegates.xml file and it doesn't seem to have any settings related with gzip files.

Any advice will be appreciated. The version of ImageMagick I am using is 6.6.9-7.

Re: How to make imagemagick not to open gzipped files

Posted: 2016-01-23T14:11:53-07:00
by snibgo
I suppose support for .gz files is built-in, rather than via external delegates, so this is controlled at compile-time, not at run-time with delegates.xml.

If you build IM from source, you can config with "--with-zlib=no".