robindean Posted April 16, 2009 Share Posted April 16, 2009 Hello all. I'm in need of a simple script to replace color tones in a png image with another color. I've researched imagesetpixel and other methods but am unable to find something that will perfect the alpha transparencies. Assuming that my image is text, on a transparent background, grayscale and rendered with font smoothing active (creates alpha transparencies to soften edges) ... How might I go about doing this while maintaining visual quality? Link to comment https://forums.phpfreaks.com/topic/154422-replace-color-png/ Share on other sites More sharing options...
soak Posted April 16, 2009 Share Posted April 16, 2009 Do you have imagemagick available? There's some info on what it can do with colours here: http://www.imagemagick.org/Usage/color/ TBH I don't know for sure that imagemagick will do what you want but it's quite a bit more powerful than GD. Link to comment https://forums.phpfreaks.com/topic/154422-replace-color-png/#findComment-811940 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.