Search found 8 matches

by shirkavand
2013-02-06T16:01:09-07:00
Forum: IMagick
Topic: imagemagick command to IMagick problem
Replies: 3
Views: 8837

Re: imagemagick command to IMagick problem

Thanks for your help. Just wondering: using exec() has any performance issue over using a PHP shared library? R/ http://stackoverflow.com/questions/8264 ... function-t
by shirkavand
2013-02-06T15:31:44-07:00
Forum: IMagick
Topic: SPARSECOLORMETHOD_BARYCENTRIC problem
Replies: 2
Views: 7513

SPARSECOLORMETHOD_BARYCENTRIC problem

I want to execute the next imageMagick command using IMagick: convert girl.jpg -sparse-color barycentric '0,0 black 319,0 white' out.jpg So, i ended with: $firstImage = new imagick( "girl.jpg" ); $firstImage->sparseColorImage(Imagick::SPARSECOLORMETHOD_BARYCENTRIC, array( 0, 0, "black...
by shirkavand
2013-02-06T13:43:18-07:00
Forum: IMagick
Topic: imagemagick command to IMagick problem
Replies: 3
Views: 8837

imagemagick command to IMagick problem

Hi, I am using(with some tweks) the next command to create a cilinder effect in a given image (found here http://www.imagemagick.org/Usage/mapping/#displacement_map): convert testImage.jpg -background white -gravity south -splice 0x10 \ \( +clone -sparse-color barycentric '0,0 black 319,0 white' \) ...
by shirkavand
2013-02-04T11:11:15-07:00
Forum: Users
Topic: Apply cubic bezier curve to image
Replies: 10
Views: 11095

Re: Apply cubic bezier curve to image

This script is exactly what i need: http://www.fmwconcepts.com/imagemagick/cylinderize/ I need to create a cilinder effect in the images. But i an not use your script because i need to use imagick shared library... so maybe i will need to tweak the example here: http://www.imagemagick.org/Usage/mapp...
by shirkavand
2013-02-04T10:28:01-07:00
Forum: Users
Topic: Apply cubic bezier curve to image
Replies: 10
Views: 11095

Re: Apply cubic bezier curve to image

I'm using: Version: ImageMagick 6.7.9-0, and sadly "-define shepards:power=4" did not make any difference. Are you sure that using a " displacement map" is not a too difficult solution for this problem?
by shirkavand
2013-02-04T10:06:21-07:00
Forum: Users
Topic: Apply cubic bezier curve to image
Replies: 10
Views: 11095

Re: Apply cubic bezier curve to image

i already used Shepards before, but it does worked for me. I have just tested your script(using linux) and it does not work either(maybe i am doing something wrong...) convert original.jpg -distort Shepards \ '0,0 0,0 179,0 179,0 0,155 0,135 179,155 179,135 72,0 72,20 72,155 72,155' down.jpg Which r...
by shirkavand
2013-02-04T09:31:37-07:00
Forum: Users
Topic: Apply cubic bezier curve to image
Replies: 10
Views: 11095

Re: Apply cubic bezier curve to image

Thank you for your fast reply. Please hek these links: http://s3.postimage.org/qrzp73osv/Original.png http://s3.postimage.org/tjiyxpnbj/Curved_down.png http://s3.postimage.org/njv7u22j3/Curved_up.png As you can see is something similar to a barrel transformation, but the left and right side of the i...
by shirkavand
2013-02-04T08:13:25-07:00
Forum: Users
Topic: Apply cubic bezier curve to image
Replies: 10
Views: 11095

Apply cubic bezier curve to image

Hi, Is possible to apply a quadratic(or cubic)bezier curve to an image, so the resulting image will be modified to have a curve transformation in it? Something similar to barrel transformation, so for example i can give a (x,y) and imageMagick based on that ending pont creates and modifies the image...