Search found 7 matches

by Roshit121
2018-04-07T04:03:59-07:00
Forum: Fred's Scripts
Topic: Adding imagemagick script on Vagrant
Replies: 1
Views: 6941

Adding imagemagick script on Vagrant

Previously, I used to use Cygwin, where I would keep the Cylinderwarp script in the bin file of Cygwin. Now, I use Vagrant in a virtual machine, as I am using Laravel Homestead. So, in order to use the Cylinderwarp script, where should I place it?
by Roshit121
2018-03-26T08:00:26-07:00
Forum: Fred's Scripts
Topic: Can't run cylinderize command in php
Replies: 6
Views: 11737

Re: Can't run cylinderize command in php

"Invalid Parameter" isn't a message that IM produces. It can be produced for the Microsoft Windows program convert.exe, that modifies disk drives. I suggest you ensure that IM's directory is at the front of PATH, and that PHP sees the same path. The code seems to run after I added full paths to ima...
by Roshit121
2018-03-25T22:51:46-07:00
Forum: Fred's Scripts
Topic: Can't run cylinderize command in php
Replies: 6
Views: 11737

Re: Can't run cylinderize command in php

Try the following and see what error messages you get: <?php exec("bash /cygdrive/c/cygwin64/bin/cylinderize.sh -m vertical -r 370 -l 810 -w 85 -p 5 -e 2 -a -90 -v background -b none -f none -o -100-65 -c multiply image.png mug.png wrap1.png 2>&1",$out,$returnval); foreach($out as $text) {echo "$te...
by Roshit121
2018-03-25T22:48:59-07:00
Forum: Fred's Scripts
Topic: Can't run cylinderize command in php
Replies: 6
Views: 11737

Re: Can't run cylinderize command in php

Bonzo wrote:
2018-03-25T07:14:25-07:00
Have you changed the permissions for cylinderize.sh?

I used to use 777 but 755 may work.

Also try changing ' ' to " "
The permission for cylinderize.sh is 755 and changing ' ' to " " didn't seem to work
by Roshit121
2018-03-25T06:29:26-07:00
Forum: Fred's Scripts
Topic: Can't run cylinderize command in php
Replies: 6
Views: 11737

Can't run cylinderize command in php

Hi, I successfully ran the cylinderize script in Cygwin, but when I tried to run it using php, it did not give the output image. I tried it using the following code: <?php shell_exec('/cygdrive/c/cygwin64/bin/cylinderize.sh -m vertical -r 370 -l 810 -w 85 -p 5 -e 2 -a -90 -v background -b none -f no...
by Roshit121
2018-03-25T03:06:25-07:00
Forum: Fred's Scripts
Topic: Combining multiple Fred's cylinderize script
Replies: 2
Views: 8542

Re: Combining multiple Fred's cylinderize script

Thanks for the suggestion, I will try that
by Roshit121
2018-03-25T01:14:55-07:00
Forum: Fred's Scripts
Topic: Combining multiple Fred's cylinderize script
Replies: 2
Views: 8542

Combining multiple Fred's cylinderize script

Hi, I just started using imagemagick a few days ago and could not find a way to run multiple cylinderize scripts. So, how could I combine multiple Cylinderize scripts that have different backgrounds and gives different results into a single script? cylinderize -m vertical -r 370 -l 810 -w 85 -p 5 -e...