Download List

项目描述

Zebra_Image is a compact (one file only), lightweight, object-oriented image manipulation library, written in and for PHP, that provides methods for performing several types of image manipulation operations. It doesn’t require any external libraries other than the GD2 extension (with which PHP usually comes pre-compiled). The code is heavily commented and generates no warnings/errors/notices when PHP’s error reporting level is set to E_ALL. It can rescale, flip, rotate, and crop images. It supports loading and saving images in the GIF, JPEG, and PNG formats and preserves transparency for GIF, PNG, and PNG24. It can re-size images to an exact given width and height and still maintain aspect ratio.

系统要求

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2011-10-15 17:35
2.2.1

造成要扔的警告的脚本的两个 bug 被固定。
Two bugs that caused the script to throw warnings were fixed.

2011-09-06 23:54
2.2

一个新的属性现在是:png_compression,这就决定了PNG文件的压缩级别。这个属性的值将被忽略比5.1.2的PHP版本。另一个新的属性sharpen_images,启用时,将指示脚本以应用所产生的图像的“锐化”滤镜。它可以创建缩略图时是非常有用的,但应仅用于创建缩略图时。锐化过滤器依赖于PHP的imageconvolution的功能,这是仅适用于PHP版本5.1.0 +,并会留下没有旧版本的图像。
A new property is now available: png_compression, which determines the compression level of PNG files. The value of this property is ignored for PHP versions older than 5.1.2. Another new property is sharpen_images which, when enabled, will instruct the script to apply a "sharpen" filter to the resulting images. It can be very useful when creating thumbnails, but should be used only when creating thumbnails. The sharpen filter relies on PHP's imageconvolution function, which is available only for PHP version 5.1.0+, and will leave the images untouched for older versions.

2011-03-28 02:17
2.1.1

该脚本的bug会产生一些特殊的透明GIF图像的警告是固定的。
A bug where the script would produce warnings on some particular transparent GIF images was fixed.

2011-02-06 03:10
2.1

旋转的bug方法不工作透明PNG / GIF图片正确的是固定的。透明的图像整体处理进行了改进。在“flip_both”的方法增加了,这翻转图像垂直和水平。为flip_horizontal和flip_vertical方法的代码被重写。一个更明确的例子增加了。
A bug where the rotate method was not working correctly on transparent PNG/GIF images was fixed. The overall handling of transparent images was improved. The “flip_both” method was added, which flips an image both vertically and horizontally. The code for the flip_horizontal and flip_vertical methods was rewritten. A more explicit example was added.

2011-01-05 06:52
2.0

整个代码进行了审计和改进,该方法的名称,方法参数和全球大多数属性发生了变化,打破以前的版本兼容。此外,resize()方法进行了改进,现在还可以调整图像到一个确切的宽度和高度,仍然保持利用作物()方法使用的宽高比。
The entire code was audited and improved and most of the method names, method arguments, and global properties were changed, breaking compatibility with previous versions. In addition, the resize() method was improved, and can now resize an image to an exact width and height and still maintain the aspect ratio by making use of the crop() method.

Project Resources