tags:

views:

21

answers:

2

convert alpha_extract.png -background Yellow -alpha shape alpha_shape.png

this is unix command in php how can we run in php

+1  A: 
system("convert alpha_extract.png -background Yellow -alpha shape alpha_shape.png");
Col. Shrapnel
i run it but not get the result alpha_shape.png image
jagadeeshbalu
does the php deamon have write permissions in that directory?
catchmeifyoutry
A: 

Maybe:

$cmd_convert = `convert alpha_extract.png -background Yellow -alpha shape alpha_shape.png`;

Works with some Commands, hope with convert too :)

ahmet2106