ダウンロードリスト

プロジェクト概要

Zebra_Image はコンパクト (1 つのファイルのみ)、軽量、オブジェクト指向の画像操作ライブラリ、PHP の画像操作のいくつかの種類を実行するためのメソッドを提供するために書かれています。それは (を PHP に通常来るプリコンパイル済み) GD2 拡張以外のすべての外部ライブラリを必要としません。コード コメントは大きくし生成しますない警告/エラー/通知 PHP のエラー レポートのレベルを E_ALL に設定。それすることができます変更、反転、回転、およびトリミング画像。読み込みと GIF、JPEG、および PNG 形式で画像を保存をサポートしていて、PNG24、PNG、GIF の透明度を保持します。それ幅と高さを与え、正確な画像をリサイズすることができますまだ縦横比を維持して。

システム要件

システム要件が設定されていません
プロジェクトのリリース情報やプロジェクトリソースの情報です。
注: プロジェクトリソースの情報は Freecode.com ページからの引用です。ダウンロードそのものは、OSDNにホスティングされているものではありません。

2011-10-15 17:35
2.2.1

警告をスローするスクリプトの原因となった 2 つのバグを修正しました。
Two bugs that caused the script to throw warnings were fixed.

2011-09-06 23:54
2.2

新しいプロパティが利用可能になりました:PNGファイルの圧縮レベルを決定するpng_compression、。このプロパティの値は、5.1.2より古いPHPバージョンでは無視されます。別の新しいプロパティが有効な場合、得られた画像に"シャープ"フィルタを適用するスクリプトを指示する、sharpen_imagesです。それは、サムネイルを作成するときに非常に便利ですが、サムネイルを作成するときにのみ使用してください。シャープフィルタは、PHPのバージョン5.1.0 +のために利用できるPHPのimageconvolutionの機能に依存しており、その古いバージョンのためにそのまま画像を残す。
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

スクリプトは、いくつかの特定の透過GIF画像の警告を生成するというバグが修正されました。
A bug where the script would produce warnings on some particular transparent GIF images was fixed.

2011-02-06 03:10
2.1

回転させる方法は、透過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

全体のコードは、監査され、改善され、ほとんどのメソッド名、メソッドの引数、およびグローバルプロパティの以前のバージョンとの互換性を破って、変更されています。加えて、サイズ変更()メソッドは、改善され、現在、正確な幅と高さにイメージのサイズを変更できますを維持したままアスペクト比をトリミング()メソッドを使用して行うものとする。
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.

プロジェクトリソース