"convert " + Server.MapPath(source) + " -background White -gravity south -splice 0x50 '\'( +clone -sparse-color barycentric '0,0 black 69,0 white') '\'( +clone -function arcsin 0.1) '\'( -clone 1 -level 25%,75% -function polynomial -4,4,0 -gamma 2 +level 50%,0) -delete 1 -virtual-pixel black -compose displace -define compose:args=17x7 -composite " + Server.MapPath(flname) + "
I am using above script in .net using MagickCMD.exe but its not generating cylindrical image.
i want some thing like this
http://www.zazzle.com/cr/design/pt-zazz ... 3419453915
Cylindrical displacement problem
-
- Posts: 3
- Joined: 2014-10-16T05:07:25-07:00
- Authentication code: 6789
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Cylindrical displacement problem
[Mod note: As this isn't a response to the original topic, I have split it to a new topic.]
Each close-parenthesis ) may need a space before it as well as after, and may need escaping.
The numbers will depend on the size of your source, how far round the cylinder it should go, etc.
You can check the maths against Fred's cylinderize script, or my page.
Each close-parenthesis ) may need a space before it as well as after, and may need escaping.
The numbers will depend on the size of your source, how far round the cylinder it should go, etc.
You can check the maths against Fred's cylinderize script, or my page.
snibgo's IM pages: im.snibgo.com
-
- Posts: 3
- Joined: 2014-10-16T05:07:25-07:00
- Authentication code: 6789
Re: Cylindrical displacement problem
hi snibgo,
Can I use your maths in .net to make image cylindrical, how can I wrap place image to cylinder
Can I use your maths in .net to make image cylindrical, how can I wrap place image to cylinder
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Cylindrical displacement problem
I explain the maths on my page: http://im.snibgo.com/cylinder.htm
snibgo's IM pages: im.snibgo.com
-
- Posts: 3
- Joined: 2014-10-16T05:07:25-07:00
- Authentication code: 6789
Re: Cylindrical displacement problem
I have seen your math, but i do not understand how to use it
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Cylindrical displacement problem
If you are on Linux or MacOSX or Windows/with Cygwin, see my script, cylinderize, at the link below.