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 Link to comment https://forums.phpfreaks.com/topic/56697-changing-images-opacity/ 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 Link to comment https://forums.phpfreaks.com/topic/56697-changing-images-opacity/#findComment-280024 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 Link to comment https://forums.phpfreaks.com/topic/56697-changing-images-opacity/#findComment-280158 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.