Hi, Sorry to bother you with such an old problem. I checked online and tried everything. But still I haven't solved it...
My problem is the missing delegate problem which shows "terminate called after throwing an instance of 'Magick::ErrorMissingDelegate' what(): ImageMagick: no decode delegate for this image format `1.jpg' @ constitute.c/ReadImage/503" I re-install IM a lot of times with ./configure --prefix=/mirror/tecwave/tmp/ImageTool/ --without-perl --with-jpeg --with-tiff --with-jp2 --with-png --disable-shared --enable-static --prefix because i have no privilege on this server.. i think i have libjpeg on the server locate libjpeg /opt/Sun_Microsystems/StorageTek_Mgmt/Sun_StorageTek_CAM/_jvm/lib/i386/libjpeg.so /usr/java/jdk1.5.0_11/jre/lib/i386/libjpeg.so /usr/java/jdk1.5.0_16/jre/lib/i386/libjpeg.so /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so.62.0.0 /usr/lib64/libjpeg.so.62 /usr/lib64/libjpeg.so.62.0.0 /usr/lib64/gthumb/modules/libjpegtran.la /usr/lib64/gthumb/modules/libjpegtran.so /usr/share/doc/libjpeg-6b /usr/share/doc/libjpeg-6b/README /usr/share/doc/libjpeg-6b/usage.doc also, i can use the utility binary like 'convert' to processing jpge images but not my program. The strange thing is for me I'm always fail even with a very simple program: #include <Magick++.h> #include <string> #include <iostream> using namespace std; using namespace Magick; int main(int argc, char** argv) { Geometry density; Geometry geometry; Geometry resample; Image image(argv[1]); density=image.density(); resample=Geometry(argv[2]); image.scale(resample); image.write("result.jpg"); } And the makefile for this program is g++ `/mirror/tecwave/tmp/ImageTool/bin/Magick++-config --cflags --cppflags` -o myDemo myDemo.cpp `/mirror/tecwave/tmp/ImageTool/bin/Magick++-config --ldflags --libs` I don't know why I cannot work on jpeg images... I appreciate a lot if someone can help me out i have been in stuck on this for almost one day... Thanks a lot and have a good day Shane _______________________________________________ Magick-developers mailing list Magick-developers@imagemagick.org http://studio.imagemagick.org/mailman/listinfo/magick-developers