Magick++ Error Missing Delegate (how to fix a missing ..)

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
idokus

Magick++ Error Missing Delegate (how to fix a missing ..)

Post by idokus »

I open in my cpp program a png file with CImg<unsigned char> which in turn uses IM to read the png file.

It compile without warnings, but when I run it I get an error message from IM:

Code: Select all

terminate called after throwing an instance of 'Magick::ErrorMissingDelegate'
  what():  ImageMagick: no decode delegate for this image format `./calc' @ magick/constitute.c/ReadImage/526
Aborted
When using `convert` it is possible for me to convert png => bmp and what not.

How can I fix this?

ps. it used to work but I had a system crash and upgraded to the next version of ubuntu :s...
pps. I am using IM 6.4.5 icm. CImg 1.20
idokus

Re: Magick++ Error Missing Delegate (how to fix a missing ..)

Post by idokus »

appearently the kubuntu/ubuntu (9.04) bundlers made an error to fix it, it seems that I have to rebuild Image Magick

http://www.kerrywong.com/2009/05/20/mag ... ate-error/
Post Reply