stuffradio Posted January 14, 2008 Share Posted January 14, 2008 Is there a tutorial that shows me how to change the color of an aspect of the image? Say there is a dog or something, and I want to change the color of the dog. How can I do that? Quote Link to comment https://forums.phpfreaks.com/topic/85889-image-recolor-in-php/ Share on other sites More sharing options...
cooldude832 Posted January 14, 2008 Share Posted January 14, 2008 that is a very complex idea because your system would have to identify objects in the image some how. Quote Link to comment https://forums.phpfreaks.com/topic/85889-image-recolor-in-php/#findComment-438515 Share on other sites More sharing options...
stuffradio Posted January 14, 2008 Author Share Posted January 14, 2008 Yeah, I know it's doable. I guess it's a lot of formulas that I'd have to do, or what concepts do you suggest I start looking in to? Quote Link to comment https://forums.phpfreaks.com/topic/85889-image-recolor-in-php/#findComment-438560 Share on other sites More sharing options...
cooldude832 Posted January 14, 2008 Share Posted January 14, 2008 your looking for something to define the object, but really php ins't the engine for this as its image interpreting functions are very weak. Quote Link to comment https://forums.phpfreaks.com/topic/85889-image-recolor-in-php/#findComment-438561 Share on other sites More sharing options...
stuffradio Posted January 14, 2008 Author Share Posted January 14, 2008 What language can I easily do this in? Quote Link to comment https://forums.phpfreaks.com/topic/85889-image-recolor-in-php/#findComment-438562 Share on other sites More sharing options...
Lamez Posted January 14, 2008 Share Posted January 14, 2008 I am going to take a shot in the dark, maybe asp, I have no idea though, or js Quote Link to comment https://forums.phpfreaks.com/topic/85889-image-recolor-in-php/#findComment-438566 Share on other sites More sharing options...
cooldude832 Posted January 14, 2008 Share Posted January 14, 2008 no java or flash might have some tools for it, but really the sophitication isn't meant to be part of a browser, but an exectuable program. Quote Link to comment https://forums.phpfreaks.com/topic/85889-image-recolor-in-php/#findComment-438568 Share on other sites More sharing options...
stuffradio Posted January 14, 2008 Author Share Posted January 14, 2008 I saw someone do it in RoR. Quote Link to comment https://forums.phpfreaks.com/topic/85889-image-recolor-in-php/#findComment-438620 Share on other sites More sharing options...
twostars Posted January 14, 2008 Share Posted January 14, 2008 GD library's imagefill function might do the job, though you'd need to know where to start filling. Quote Link to comment https://forums.phpfreaks.com/topic/85889-image-recolor-in-php/#findComment-438633 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.