Bezier curve cylinder effect

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
jasminmistry
Posts: 3
Joined: 2014-12-09T10:57:47-07:00
Authentication code: 6789

Bezier curve cylinder effect

Post by jasminmistry »

I am trying to use bezier curve as cylinderlize but no luck.

Actually bezier curve is cutting image in bezier curve but not getting effect like cylinder.

Please help.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Bezier curve cylinder effect

Post by Bonzo »

More information required: What is not working, code you are using, IM version, example images etc.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Bezier curve cylinder effect

Post by fmw42 »

jasminmistry
Posts: 3
Joined: 2014-12-09T10:57:47-07:00
Authentication code: 6789

Re: Bezier curve cylinder effect

Post by jasminmistry »

Actually i have used fabric js as backend configuration so i get bezier curve as imprint.

Same i want to use it for front end where i can convert image into bezier i.e. cylinder.

Please help i am stuck
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Bezier curve cylinder effect

Post by snibgo »

I don't understand what you want. Can you provide sample inputs and outputs?

See Fred's cylinderize page http://www.fmwconcepts.com/imagemagick/cylinderize/ and my own http://im.snibgo.com/cylinder.htm
snibgo's IM pages: im.snibgo.com
jasminmistry
Posts: 3
Joined: 2014-12-09T10:57:47-07:00
Authentication code: 6789

Re: Bezier curve cylinder effect

Post by jasminmistry »

I have bezier curve with parameters
M,121.71657641611849,121.71657641611849,Q,248,178,365.14972924835564,121.71657641611849,M,121.71657641611849,121.71657641611849,L,121,365,M,121,365,Q,230,480,365,365,L,365.14972924835564,365.14972924835564,L,365.14972924835564,121.71657641611849

and i want output as cylinderize same as Fred's cylinderize page http://www.fmwconcepts.com/imagemagick/cylinderize/.

Actually i use fred's cylinderize script only. but i dont know how to convert bezier curve parameter into cyliderize input parameter.
Post Reply