Page 1 of 1

Posted: 2006-11-21T15:55:18-07:00
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());
  }
}