kernelgpf Posted June 6, 2007 Share Posted June 6, 2007 Is there code (if so, what is it?) to paint an opaque layer of color over an entire image? Quote Link to comment https://forums.phpfreaks.com/topic/54502-paint-an-opaque-layer-of-color-over-an-entire-image/ Share on other sites More sharing options...
Caesar Posted June 6, 2007 Share Posted June 6, 2007 You'll want to look into GD library functions. Hopefully, it is compiled or setup on your site/server already. :-) Quote Link to comment https://forums.phpfreaks.com/topic/54502-paint-an-opaque-layer-of-color-over-an-entire-image/#findComment-269570 Share on other sites More sharing options...
kernelgpf Posted June 6, 2007 Author Share Posted June 6, 2007 I've looked- can't seem to find anything concerning the opaquity. Quote Link to comment https://forums.phpfreaks.com/topic/54502-paint-an-opaque-layer-of-color-over-an-entire-image/#findComment-269573 Share on other sites More sharing options...
kael.shipman Posted June 6, 2007 Share Posted June 6, 2007 Do mean semi-translucent? Colors are already opaque (opacity being a measure of the amount of background information that is blocked by a given foreground layer). At any rate, you may be looking for the alpha functions, as the alpha channel is what carries information about opacity. Quote Link to comment https://forums.phpfreaks.com/topic/54502-paint-an-opaque-layer-of-color-over-an-entire-image/#findComment-269586 Share on other sites More sharing options...
kernelgpf Posted June 6, 2007 Author Share Posted June 6, 2007 Yes, that's what I mean. Sorry. Quote Link to comment https://forums.phpfreaks.com/topic/54502-paint-an-opaque-layer-of-color-over-an-entire-image/#findComment-269605 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.