Jump to content

Archived

This topic is now archived and is closed to further replies.

jaymc

Image - How Do You Save

Recommended Posts

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?

Share this post


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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.