Page 1 of 1

C++ API regarding..

Posted: 2008-08-21T03:34:00-07:00
by bheadlim
Magick::Image master("building.jpg");
Magick::Image third = master;
third = DistortImage(third, MagickLib::PerspectiveDistortion, 16, arg, MagickLib::MagickTrue, &exceptionInfo );

error: cannot convert ‘Magick::Image’ to ‘MagickLib::Image*’ for argument ‘1’ to ‘MagickLib::Image*MagickLib::DistortImage(MagickLib::Image*, MagickLib::DistortImageMethod, long unsigned int, const double*, MagickLib::MagickBooleanType, MagickLib::ExceptionInfo*)’

May i know how to 'convert' a Magick::Image to MagickLib::Image?