jaymc Posted September 26, 2006 Share Posted September 26, 2006 I have made a script to manipulate an imageThe last stage of my script is to overlay a solid blue color over the entire image and then change the transparency of the blue to something like 30%Basically, giving the total image a complete blue tintWhat function does this and can you give me an example?Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/22174-php-image/ Share on other sites More sharing options...
Barand Posted September 26, 2006 Share Posted September 26, 2006 Is this the effect you want?[code]<?php$im = imagecreatefromjpeg('myImage.JPG');imagefilter($im,IMG_FILTER_COLORIZE,0,0,80);header("content-type: image/jpeg");imagejpeg($im);imagedestroy($im);?>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/22174-php-image/#findComment-99302 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.