Search found 5 matches

by lq634254672
2018-07-08T02:22:06-07:00
Forum: Magick++
Topic: How to set "distort:viewport=WxH" for the distort function in magick++?
Replies: 3
Views: 44680

Re: How to set "distort:viewport=WxH" for the distort function in magick++?

See http://www.imagemagick.org/discourse-server/viewtopic.php?f=27&t=33029#p157520 Thanks very much, and now, i have another problem: i use the following codes to get a specified output with transparent background. But the background is not transparent overall, it has a corner with gray color. ...
by lq634254672
2018-07-07T08:48:00-07:00
Forum: Magick++
Topic: How to set "distort:viewport=WxH" for the distort function in magick++?
Replies: 3
Views: 44680

Re: How to set "distort:viewport=WxH" for the distort function in magick++?

See http://www.imagemagick.org/discourse-server/viewtopic.php?f=27&t=33029#p157520 Thanks very much, and now, i have another problem: i use the following codes to get a specified output with transparent background. But the background is not transparent overall, it has a corner with gray color. ...
by lq634254672
2018-07-07T06:25:38-07:00
Forum: Magick++
Topic: How to set "distort:viewport=WxH" for the distort function in magick++?
Replies: 3
Views: 44680

How to set "distort:viewport=WxH" for the distort function in magick++?

I have found distort function has only 4 parameters in magick++, such as Image.distort(PerspectiveDistortion,16,point_4,false). Now i want to define "distort:viewport=WxH" to get a specified output. What do i do?
by lq634254672
2018-07-07T06:16:19-07:00
Forum: Magick++
Topic: Distort or trapezoid transformation
Replies: 13
Views: 80158

Re: Distort or trapezoid transformation

With C++, use Image.cpp: void Magick::Image::distort(const DistortImageMethod method_, const size_t number_arguments_,const double *arguments_,const bool bestfit_) With the PerspectiveDistortion method, give 4 input coordinate as the corners of your image, and output coordinate as the places you wa...
by lq634254672
2018-07-06T23:00:29-07:00
Forum: Magick.NET
Topic: Equivalent of distort:viewport=WxH+X+Y
Replies: 4
Views: 17592

Re: Equivalent of distort:viewport=WxH+X+Y

dlemstra wrote: 2017-11-12T11:46:05-07:00 I just published a new release (7.1.0.0) that includes a new class called DistortSettings that you could use to set the viewport.
How do I this in Magick++ using function? I am not find distortsetting class in magick++.