Jump to content


PHP Image

  • Please log in to reply
1 reply to this topic

#1 jaymc

  • Members
  • PipPipPip
  • Advanced Member
  • 1,521 posts
  • LocationLiverpool

Posted 26 September 2006 - 10:49 PM

I have made a script to manipulate an image

The 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 tint

What function does this and can you give me an example?

I would love to change the world, but they won't give me the source code

SEO Agency

#2 Barand

  • Moderators
  • Sen . ( ile || sei )
  • 18,017 posts

Posted 26 September 2006 - 11:03 PM

Is this the effect you want?
$im = imagecreatefromjpeg('myImage.JPG');

header("content-type: image/jpeg");

If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received


|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users