[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.