Upgrade from 6.2.5 to 6.3.0 broke my code, help.

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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

We cannot reproduce the problem with ImageMagick 6.3.0-5, the current release. Does this program work for you?

Code: Select all

#include <Magick++.h>
#include <iostream>
#include <string>

using namespace std;
using namespace Magick;

int main(int argc, char** argv)
{
  try
  {
    Magick::Image swatches(Magick::Geometry(5, 6),
      Magick::ColorRGB(1.0, 1.0, 1.0));
    swatches.write("swatch.jpg");
  }
  catch (Magick::Exception& err)
  {
    fprintf(stderr, "Exception:%s",err.what());
  }
}
Post Reply