用于gd的php包装器类 [英] php wrapper class for gd

查看:49
本文介绍了用于gd的php包装器类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以推荐gd库的包装器类吗?

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 :Þ

编辑:我的网络托管服务器没有5.3可用.当然,必须有一个不依赖5.3功能的类吗?

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

推荐答案

Imagine 是GD和Imagick的OO包装.它为许多基本(和一些高级)功能提取了GD或Imagick专用图像处理代码的需求.

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.

这篇关于用于gd的php包装器类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆