Jump to content


Photo

Image - How Do You Save


  • Please log in to reply
1 reply to this topic

#1 jaymc

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

Posted 19 September 2006 - 02:40 PM

I want to use PHP's image functions to manipulate an image, put text on it for example then save that image on the server

How do you save?
I would love to change the world, but they won't give me the source code

SEO Agency

#2 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 19 September 2006 - 02:48 PM

If your creating a Jpeg for example, you'd do it like so:
<?php
imagejpeg($im,"path/to/file/image.jpg");
?>
Check the manual page for the imagejpeg() function for more info.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users