Without upload

See all posts Reply

Without upload new!
by Paulo, 16 years, 8 months ago
Hi guys,

how i can write a watermark on a image with this class without an upload ?


Thx.Reply
Re: Without upload new!
by colin, 16 years, 8 months ago
You can process local files too. For instance:
$foo = new upload('./my_pic.png');
$foo->image_watermark = 'watermark.png';
$foo->image_watermark_x = 10;
$foo->image_watermark_y = 10;
$foo->process('./test/');
It needs error handling, etc... but it shows how you can manipulate local files.Reply
Re: Without upload new!
by Paulo, 16 years, 8 months ago
Thx man.

Very good example.Reply