Hidayet Dogan <hdogan@bilcag.net> - November 19, 2001

phpThumbnailer 1.0 - http://php.bilcag.net/phpThumbnailer

phpThumbnailer is a simple PHP class for create thumbnails or resize images.

Requirements
------------
GD extension enabled PHP 3.0.x or PHP 4.0.x.

Sample Use
----------
<?
  include("class.Thumbnail.php");
  $tn_image = new Thumbnail("sample.png", 0, 0, 50);
			#      |          |  |   |
			#      |          |  |   +-- Percent (optional)
		        #      |          |  +-- Maximum height (optional)
		        #      |          +-- Maximum width (optional)
			#      |
			#      +-- Image filename

  $tn_image->show();
?>

For more samples see samples/sample.html...


Note
----
Version of GD library older than gd-1.6 support GIF format images, and do not
support PNG images, where versions greather than gd-1.6 support PNG, not GIF.

In order to create thumbnails in JPEG format, you will need to obtain and
install jpeg-6b library, and then recompile gd to make use of jpeg-6b. You
will also have to compile PHP with --with-jpeg-dir=/path/to/jpeg-6b.

Sorry for my stupid english.

Disclaimer
----------
No responsiblity for any security risks or software bugs whatsoever is
accepted by the author(s).
