Filesize differences between versions using identify
Posted: 2016-07-14T11:34:25-07:00
Hi,
We're looking to upgrade from 6.8.9 to 7.0.2 but one of things that's tripped us up is the file size is returning differently.
Command:
Output:
Now our code depends on a integer size, i.e. bytes. Right now it just lops of the B. Can identify be changed (I couldn't see anything to do it) or is this just how it is now? I'd prefer to avoid converting it in the code if I can!
Full versions:
Thanks in advance,
Ian
We're looking to upgrade from 6.8.9 to 7.0.2 but one of things that's tripped us up is the file size is returning differently.
Command:
Code: Select all
/usr/bin/identify -ping -format %wx%hx%b, /file1 /file2 /file3 /file4 /file5
Code: Select all
6.8.9: 1024x1024x73280B,420x420x22376B,200x200x7372B,70x70x1809B,90x90x2498B,
7.0.2: 1024x1024x73.3KB,420x420x22.4KB,200x200x7.37KB,70x70x1.81KB,90x90x2.5KB
Full versions:
Code: Select all
Version: ImageMagick 6.8.9-0 Q16 x86_64 2014-06-25 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates: bzlib cairo djvu fftw fontconfig freetype gslib jng jpeg lcms ltdl lzma openexr pangocairo png ps rsvg tiff webp wmf x xml zlib
Version: ImageMagick 7.0.2-4 Q16 x86_64 2016-07-12 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gvc jng jpeg lcms ltdl openexr pangocairo png rsvg tiff webp wmf x xml zlib
Ian