Hi,

I find that the reason is I cannot read the image using url. Therefore the
memory allocation failed.
How can I access to an online image using url?
Do I miss some package?

Below is my configure

tecwave1 9> identify -list configure

Path: /usr/lib64/ImageMagick-6.2.8/config/configure.xml

Name          Value
-------------------------------------------------------------------------------
CC            gcc
CFLAGS        -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall
-pthread
CONFIGURE     ./configure --build=x86_64-redhat-linux-gnu
--host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --with-modules --with-perl
--with-x --with-threads --with-magick_plus_plus --with-gslib --with-wmf
--with-lcms --with-rsvg --with-xml --with-perl-options=INSTALLDIRS=vendor
CC='gcc -L/builddir/build/BUILD/ImageMagick-6.2.8/magick/.libs'
LDDLFLAGS='-shared -L/builddir/build/BUILD/ImageMagick-6.2.8/magick/.libs'
--with-windows-font-dir=/usr/share/fonts/default/TrueType --without-dps
COPYRIGHT     Copyright (C) 1999-2005 ImageMagick Studio LLC
CPPFLAGS      -I/usr/include
CXX           g++
CXXFLAGS      -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -pthread
DEFS          -DHAVE_CONFIG_H
DISTCHECK_CONFIG_FLAGS 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic'  --with-quantum-depth=16  --with-dps=no  --with-fpx=no
--with-fontpath=  --with-windows-font-dir==/usr/share/fonts/default/TrueType

EXEC-PREFIX   /usr
HOST          x86_64-redhat-linux-gnu
LDFLAGS       -L/usr/lib64 -L/usr/lib64 -lfreetype -L/usr/lib
LIB_VERSION   0x628
LIB_VERSION_NUMBER 6,2,8,0
LIBS          -lMagick -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lXext
-lSM -lICE -lX11 -lXt -lbz2 -lz -lpthread -lm -lpthread
NAME          ImageMagick
PCFLAGS
PREFIX        /usr
QuantumDepth  16
RELEASE_DATE  04/17/08
VERSION       6.2.8
WEBSITE       http://www.imagemagick.org


On Sun, Jun 7, 2009 at 7:22 PM, Santa Santa <[email protected]> wrote:

> Hi,
>
> When I use tries to open an online image and scale it, I will get an error:
>
> Caught exception: ImageMagick: Memory allocation failed `
> http://tbn3.google.com/images?q=tbn:1qmj4LZwmBhaIM:http://www.nv.doe.gov/library/PhotoLibrary/xx-012.jpg'
> @ resize.c/ScaleImage/2510
>
> I tried with convert binary which works.
> This is a very small image, so I think the memory should be enough.
> I guess it's other problems causing this error.
> Anyone has any ideas?
> Thanks a lot
>
> Shane
>
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to