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
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
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