tawevolution Posted June 22, 2007 Share Posted June 22, 2007 Hi, Im looking for a script that will actually change the physical images opacity (e.g. you upload an image, and it saves two copies - one normal, and one with 50% opacity). Does anyone know how this can be done? I dont want to have to use: opacity:0.5; in the css for the image. Please help Michael Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted June 22, 2007 Share Posted June 22, 2007 imagecreatetruecolor is your friend... have a read here http://uk3.php.net/manual/en/function.imagecreatetruecolor.php Quote Link to comment Share on other sites More sharing options...
tawevolution Posted June 22, 2007 Author Share Posted June 22, 2007 nope, isnt what im looking for ..... This is what I want it to do: I have a jpg image. I use a form and upload it to my website hosting (I can do that ok), but before it uploads the jpg image, I want it to save a copy with 50% alpha (so two copies - one with 100% and one with 50% alpha) being uploaded. imagecreatetruecolor only does shapes through php, and not actual jpegs Quote Link to comment 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.