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
$merge->image_text = 'TEST'; $merge->image_text_font = 'MyriadPro-Regular_0.otf'; $merge->image_text_size = 24;
imagestring($filter, $this->image_text_font, ($this->image_text_alignment == 'l' ? 0 : (($t_width - strlen($v) * $char_width) / ($this->image_text_alignment == 'r' ? 1 : 2))), $k * ($line_height + ($k > 0 && $k < (sizeof($text)) ? $this->image_text_line_spacing : 0)), $v, $text_color);
I'm keep getting this error : PHP Warning: imagestring() expects parameter 2 to be long, string given : class.upload.php on line 4476