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
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
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