issue applying LZW compression
Posted: 2016-12-09T10:50:13-07:00
Hello, I am new to ImageMagick and am using it primarily for converting images from NEF. I am having trouble applying LZW compression when converting to TIFF. The file size is actually getting bigger when I apply LZW compression, as opposed to just converting to TIFF without LZW.
I am using:
ImageMagick version: Version: ImageMagick 7.0.3-9 Q16 x86_64 2016-12-8 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): bzlib fontconfig freetype jbig jng jpeg lzma pangocairo png tiff x xml zlib
LIBTIFF version 4.0.3
the 14 MB NEF is converted to a 61 MB TIFF. When I look at the file in ExifTool, it says there is LZW compression.
the 14.0 MB NEF is converted to a 53 MB TIFF.
Any ideas would be appreciated! Thank you!
I am using:
ImageMagick version: Version: ImageMagick 7.0.3-9 Q16 x86_64 2016-12-8 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): bzlib fontconfig freetype jbig jng jpeg lzma pangocairo png tiff x xml zlib
LIBTIFF version 4.0.3
Code: Select all
convert [pathtofile].nef –compress LZW [outputfile].tiff
Code: Select all
convert [pathtofile].nef [outputfile].tiff
Any ideas would be appreciated! Thank you!