Hi,
I have to use distort function of ImageMagicK (Magick++). I don't have clear understanding of the parameters passed to it.
void distort ( const DistortImageMethod method_,
const size_t number_arguments_,
const double *arguments_,
const bool bestfit_ = false );
Can anybody help me which argumets to pass to the function while calling.?
Regards,
mbatra
How to use distort function of ImageMagick.?
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: How to use distort function of ImageMagick.?
My MagickWand examples in C (link is below in my sig) has examples of using MagickDistortImage in the affine transformation example and in the text effects example. It isn't C++ but it should help you with the arguments for the distort method.
Pete
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
See my message in this topic for a link to a zip of all the files.
Re: How to use distort function of ImageMagick.?
el_supremo wrote:My MagickWand examples in C (link is below in my sig) has examples of using MagickDistortImage in the affine transformation example and in the text effects example. It isn't C++ but it should help you with the arguments for the distort method.
Pete
Hi,
Thanx for the reply.
I was not able to open the link you have given. Can u please paste some lines of code to understand about the arguments.
Thanx & Regards,
mbatra
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: How to use distort function of ImageMagick.?
These are direct links to the source code of the two examples I mentioned.
http://members.shaw.ca/el.supremo/MagickWand/affine.htm
http://members.shaw.ca/el.supremo/Magic ... ffects.htm
Pete
http://members.shaw.ca/el.supremo/MagickWand/affine.htm
http://members.shaw.ca/el.supremo/Magic ... ffects.htm
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
See my message in this topic for a link to a zip of all the files.