problem in changing color
Posted: 2011-05-20T10:12:45-07:00
Hello
i also ask the solution of this in my previous post, but i dont get to it now i am making it fresh. in below there is two image one is original and another is color changed.
in above image u see that original is clear but when i change the color of image it not clear it sumthing become jaggy.
i am using following command change the color. In this first i change the image color into gray and then change into requested color.
exec("convert newimage.gif -colorspace Gray images/colorchg/new_gray.gif");
exec("convert images/colorchg/new_gray.gif -fill '#ff0000' -tint 200 images/colorchg/newclr.gif");
it also happen sumtime that when i resize the image then also this happen.
please tell the me prefect solution for changing the color of its urgent.
i also ask the solution of this in my previous post, but i dont get to it now i am making it fresh. in below there is two image one is original and another is color changed.
in above image u see that original is clear but when i change the color of image it not clear it sumthing become jaggy.
i am using following command change the color. In this first i change the image color into gray and then change into requested color.
exec("convert newimage.gif -colorspace Gray images/colorchg/new_gray.gif");
exec("convert images/colorchg/new_gray.gif -fill '#ff0000' -tint 200 images/colorchg/newclr.gif");
it also happen sumtime that when i resize the image then also this happen.
please tell the me prefect solution for changing the color of its urgent.