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
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
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