class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
more info about the class
See all posts Reply
$foo = new upload('./my_pic.png'); $foo->image_watermark = 'watermark.png'; $foo->image_watermark_x = 10; $foo->image_watermark_y = 10; $foo->process('./test/');
how i can write a watermark on a image with this class without an upload ?
Thx.
It needs error handling, etc... but it shows how you can manipulate local files.
Very good example.