assertion failure blobtoimage
Posted: 2014-09-23T05:52:47-07:00
magick/blob.c:338: BlobToImage: Assertion `image_info != (ImageInfo *) ((void *)0)' failed.
Code:
Magick::Blob mblob_in;
mblob_in.updateNoCopy(data, data_length);
std::vector<Magick::Image> images;
Magick::readImages(&images, mblob_in);
data/data_length is 133562 bytes of a 2-page PDF, but also fails with jpeg
Version: ImageMagick 6.8.9-8 Q16 x86_64 2014-09-23 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib fontconfig freetype jng jpeg lzma pangocairo png tiff xml zlib
Code:
Magick::Blob mblob_in;
mblob_in.updateNoCopy(data, data_length);
std::vector<Magick::Image> images;
Magick::readImages(&images, mblob_in);
data/data_length is 133562 bytes of a 2-page PDF, but also fails with jpeg
Version: ImageMagick 6.8.9-8 Q16 x86_64 2014-09-23 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib fontconfig freetype jng jpeg lzma pangocairo png tiff xml zlib