Error Message While Schaling BitMap Image
Posted: 2009-05-05T15:10:53-07:00
I installed ImageMagick-6.5.2-0 from source on centOS with all dependencies (delegates) and its failing on one specific case. I have a JPEG image and I save it using preview on MAC OS 10 as windows bitmap image. When I try to scale it using IM I get following error
identify r.bmp gives no result. Please note that I could scale it when created a .bmp using microsoft paint. The image is a valid .bmp file I could open it in preview and earlier and binary version of IM scales this image without any issue.
I could clearly see there is something wrong with my installation, however I am not sure what it is and where to look for it.
Here is result of my convert -list configure
Thanks for all the help and support.
Code: Select all
convert r.bmp -resize '200x200>' r-t.bmp
convert: magick/blob.c:2576: ReadBlob: Assertion `image->blob->type != UndefinedStream' failed.
Aborted
I could clearly see there is something wrong with my installation, however I am not sure what it is and where to look for it.
Here is result of my convert -list configure
Code: Select all
Path: /opt/ImageMagick-6.5.2-0/lib/ImageMagick-6.5.2/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -fopenmp -g -O2 -Wall -W -pthread
CONFIGURE ./configure '--prefix=/opt/ImageMagick-6.5.2-0' 'LDFLAGS=-L/usr/local/lib' 'CPPFLAGS=-I/usr/local/lib' '-with-gs-font-dir=/usr/share/fonts/default/ghostscript' '-with-windows-font-dir=/usr/share/fonts/default/Type1'
COPYRIGHT Copyright (C) 1999-2009 ImageMagick Studio LLC
CPPFLAGS -I/opt/ImageMagick-6.5.2-0/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -Wall -W -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib fontconfig freetype jpeg jng jp2 lcms png tiff x11 xml wmf zlib
DISTCHECK_CONFIG_FLAGS 'CPPFLAGS=-I/usr/local/lib' 'LDFLAGS=-L/usr/local/lib' --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-gs-font-dir=/usr/share/fonts/default/ghostscript --with-windows-font-dir=/usr/share/fonts/default/Type1
EXEC-PREFIX /opt/ImageMagick-6.5.2-0
HOST i686-pc-linux-gnu
LDFLAGS -L/opt/ImageMagick-6.5.2-0/lib -L/usr/local/lib -lfreetype
LIB_VERSION 0x652
LIB_VERSION_NUMBER 6,5,2,0
LIBS -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lXext -lX11 -lbz2 -lz -lm -lgomp -lpthread
NAME ImageMagick
PCFLAGS -fopenmp
PREFIX /opt/ImageMagick-6.5.2-0
QuantumDepth 16
RELEASE_DATE 2009-05-05
VERSION 6.5.2
WEBSITE http://www.imagemagick.org