I was able to use some of the functions like posterize and crop but I had problem with other functions. Some functions like quantizeColors (myImage.quantizeColors(2)) and quality have no effect on images. And I got an error in this code after executing which I don't think should give any errors:
Code: Select all
Image img(Geometry(800, 800), Color("white"));
img.font("Helvetica");
img.fillColor(Color("firebrick"));
img.strokeColor(Color("red"));
img.draw(Magick::DrawableText(25, 25, "Some text")); // Error
img.write("pics/a.png");
Any help would be appreciated.