Welcome Guest, Not a member yet? Register   Sign In
Multiple Watermarks
#1

[eluser]bernstable[/eluser]
Using Image_lib I want to 'watermark' the various fields on a jpeg invite for printout. To, from, date, time etc etc. I can easily get one of the fields 'populated' using the following:-

Code:
$config['image_library'] = 'gd';
$config['source_image'] = "./images/invites/163-17.jpg";
$config['wm_text'] = 'Adam';
$config['wm_type'] = 'text';
$config['wm_font_path'] = './system/fonts/comic.ttf';
$config['wm_font_size'] = '50';
$config['wm_font_color'] = 'ffffff';
$config['wm_vrt_offset'] = '1620';
$config['wm_hor_offset'] = '-400';
$config['dynamic_output'] = 'TRUE';
$this->load->library('image_lib', $config);
$this->image_lib->watermark();

Now I just need to add the other fields. how on earth do I manage that - you'll notice that the output is just to the browser
Code:
$config['dynamic_output']='TRUE';
as I am hoping to be able to create the fully populated invite without having to save anything to disc. Any help would be much appreciated.

Bernie

edit: Oops think this is in wrong part of forum.


Messages In This Thread
Multiple Watermarks - by El Forum - 02-12-2009, 08:00 AM
Multiple Watermarks - by El Forum - 02-12-2009, 04:22 PM
Multiple Watermarks - by El Forum - 02-13-2009, 04:30 AM
Multiple Watermarks - by El Forum - 10-07-2009, 09:32 PM
Multiple Watermarks - by El Forum - 10-08-2009, 07:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB