This project has been discontinued (May 2021), but lives on at: https://sourceforge.net/projects/tmagic/ in a yet more powerful form.

Bring the full power of object oriented programming to PHP's Imagick.

LTMagic is a class to extend the IMagick class and TDraw extends the ImagickDraw class with the goal of simplifying repetitive code.

Instead of:
$draw->setFont ("Arial-bold");
$draw->setFontSize (24);
$draw->setTextAlignment (Imagick::ALIGN_CENTER);
$draw->annotation ($im_x - 45, $im_y - 33, $x_axis);

Do it in one line:
$draw->Tfont ("Arial-bold", 24)->Talign ("center")->Ttext ($im_x - 45, $im_y - 33, $x_axis);

LTImagic/TDraw also seeks to address some of the shortcomings of PHP's Imagick, such as verbose code, inconsistent returning of Imagick objects or booleans, uniting several steps into a single function, combining set/get functions.

Features

  • PHP
  • Imagick
  • Object Oriented Programming

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow LTMagic/TDraw

LTMagic/TDraw Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LTMagic/TDraw!

Additional Project Details

Operating Systems

Windows

Intended Audience

End Users/Desktop, Information Technology

Programming Language

PHP

Related Categories

PHP Object Oriented Software, PHP Graphics Software, PHP Libraries

Registered

2017-09-29