Replace color and Aliasing with another one in PHP

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Ximer

Replace color and Aliasing with another one in PHP

Post by Ximer »

Hi all!

I have a problem with colors replacing...

In this moment i can replace a color with another but it it's very crappy... example of imagemagick documentation, the black border doesn't hide!
How i can CORRECTLY replace a color with another one?

The function for do that is only: opaquePaintImage?

Any suggestions? Thanks at all! ;)

PS: Sorry for my bad english :(
Ximer

Re: Replace color and Aliasing with another one in PHP

Post by Ximer »

Anyone? :(
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Replace color and Aliasing with another one in PHP

Post by fmw42 »

can you provide a link to your input image and a description of what you want to do to it (and if possible an example of it done correctly). I can try to help with command line code, but I don't know PHP APIs.
Post Reply