php imagick paint all non transparent pixels one color -


i need convert non transparent pixels 1 color (e.g. black).

i can use methods exposed php imagick extension http://php.net/manual/en/class.imagick.php

as exec() blocked on server.

what quickest route achieve this?

in end created black pseudo image , copied opacity original image new pseudo image


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -