[magick-users] Image size using ping and blobs

James Whitwell jams at momento.com.au
Thu Jul 13 23:57:40 PDT 2006


Hi,

I've noticed some differences with the way Magick::ping() works between 
if you use it via passing a filename directly (using a std::string), or 
passing it a Magick::Blob.  When I pass the filename directly, I get the 
correct columns() and rows() values, but when I pass it a Blob it seems 
to give me the size of the EXIF thumbnail instead (for JPEG images -- I 
haven't tried it with any other kinds of images).  As far as I know I'm 
reading the whole image into memory correctly.  I'm using 
ImageMagick-6.2.5 on Windows XP.

Thanks,
;) james.


More information about the Magick-users mailing list