php wrapper class for gd
Asked Answered
M

2

5

Can anyone recommend a wrapper class for the gd library?

I've found a few, but they just have basic image manipulation functions, such as flipping, reversing, etc.

I am really drawing here, so I want all the line, point, geometric figure, and color functions. And a basic palette, so I don't have to go through the hassle of defining basic colors all the time :Þ

Edit: My webhost doesn't have 5.3 available. Surely there must be a class that doesn't rely on 5.3 features?

Melo answered 2/3, 2011 at 1:35 Comment(0)
I
8

Imagine is an OO wrapper for GD and Imagick. It abstracts out the need for GD or Imagick specific image manipulation code for alot of the basic (and some advanced) functions.

Inexperienced answered 2/3, 2011 at 1:39 Comment(3)
I don't have 5.3 on my web host :PMelo
this OO wrapper seems really cool and helpful, but many web hosting service providers haven't upgraded to PHP 5.3+ yet (neither had mine :( ). Could you also recommend any other similar wrappers for GD, e.g. for PHP 5.2+? Thanks in advance! :)Mycetozoan
Sites should all be using PHP 8, now. I hope no site uses PHP 5.3.Tetrabasic
C
2

ImageArtist is a pure GD wrapper which makes image manipulation insanely easy, authored by Treinetic (pvt) ltd.

some hosting providers does not have ImageMagic installed but most of them has GD extension installed so you can expect the code you write will work across local and remote servers.

Caravette answered 11/9, 2017 at 6:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.