Without upload

See all posts See thread Reply

Re: Without upload new!
by colin, 17 years, 3 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