0

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

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

0

2 Answers 2

1
system("convert alpha_extract.png -background Yellow -alpha shape alpha_shape.png");
Sign up to request clarification or add additional context in comments.

2 Comments

i run it but not get the result alpha_shape.png image
does the php deamon have write permissions in that directory?
0

Maybe:

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

Works with some Commands, hope with convert too :)

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.