Index: Transform.php =================================================================== RCS file: /repository/pear/Image_Transform/Transform.php,v retrieving revision 1.15 diff -u -r1.15 Transform.php --- Transform.php 8 Sep 2002 03:09:48 -0000 1.15 +++ Transform.php 29 Dec 2002 06:01:32 -0000 @@ -239,6 +239,10 @@ */ function _get_image_details($image) { + if (!file_exists($image)) { + return PEAR::raiseError("File doesnt exists", true); + } + $data = @GetImageSize($image); #1 = GIF, 2 = JPG, 3 = PNG, 4 = SWF, 5 = PSD, 6 = BMP, 7 = TIFF(intel byte order), 8 = TIFF(motorola byte order, # 9 = JPC, 10 = JP2, 11 = JPX, 12 = JB2, 13 = SWC @@ -493,5 +497,21 @@ { return PEAR::raiseError("No gamma method exists", true); } + + function grayscale() + { + return PEAR::raiseError("No grayscale method exists", true); + } + + function yellowize() + { + return PEAR::raiseError("No yellowize method exists", true); + } + + function sepia() + { + return PEAR::raiseError("No sepia method exists", true); + } + } ?>