<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -143,7 +143,7 @@ class ImageResize {
     /**
      * Scale an image to the specified size using GD.
      */
-    public static function image_gd_resize($source, $destination, $width, $height, $source_x = 0, $source_y = 0, $source_width = null, $source_height = null) {
+    protected static function image_gd_resize($source, $destination, $width, $height, $source_x = 0, $source_y = 0, $source_width = null, $source_height = null) {
         if (!file_exists($source)) {
             return false;
         }
@@ -174,7 +174,7 @@ class ImageResize {
     /**
      * GD helper function to create an image resource from a file.
      */
-    public static function image_gd_open($file, $format) {
+    protected static function image_gd_open($file, $format) {
         $open_func = 'imagecreatefrom'. $format;
         if (!function_exists($open_func)) {
             return false;
@@ -186,7 +186,7 @@ class ImageResize {
     /**
      * GD helper to write an image resource to a destination file.
      */
-    public static function image_gd_write($res, $destination, $format) {
+    protected static function image_gd_write($res, $destination, $format) {
         $write_func = 'image'. $format;
         if (!function_exists($write_func)) {
             return false;
@@ -200,8 +200,8 @@ class ImageResize {
         $args = array($res, $destination);
         switch($format) {
             // Set quality values for JPEG and PNG
-            case &quot;jpeg&quot;: $args[] = 60; break;
-            case &quot;png&quot;:  $args[] = 9;  break;
+            case 'jpeg': $args[] = 60; break;
+            case 'png':  $args[] = 9;  break;
         }
         return call_user_func_array($write_func, $args);
     }</diff>
      <filename>ImageResize.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4614071e1d1aba3c9274055ec6e81bd7d2be3b4a</id>
    </parent>
  </parents>
  <author>
    <name>J. King</name>
    <email>jking@jkingweb.ca</email>
  </author>
  <url>http://github.com/naehrstoff/image_resize/commit/222350b286b468941b5a33a0816b57dbe46497f5</url>
  <id>222350b286b468941b5a33a0816b57dbe46497f5</id>
  <committed-date>2009-05-31T06:17:32-07:00</committed-date>
  <authored-date>2009-05-31T06:17:32-07:00</authored-date>
  <message>Protect a few methods</message>
  <tree>2c838515029a1addd8a4ac2ac28c32546ab1ce52</tree>
  <committer>
    <name>J. King</name>
    <email>jking@jkingweb.ca</email>
  </committer>
</commit>
