File/Convert.php
authorleon <leon@roojs.com>
Thu, 21 Mar 2024 02:45:38 +0000 (10:45 +0800)
committerleon <leon@roojs.com>
Thu, 21 Mar 2024 02:45:38 +0000 (10:45 +0800)
File/Convert.php

index f952053..9ba8235 100644 (file)
@@ -49,6 +49,8 @@ class File_Convert
     
     function __construct($fn, $mimetype, $options=array())
     {
+        var_dump($options);
+        die('option');
         $this->fn = $fn;
         
         if (!file_exists($fn)) {
@@ -133,9 +135,6 @@ class File_Convert
     
     function convert($toMimetype, $x= 0, $y =0, $pg=false) 
     {
-        var_dump($toMimetype);
-        var_dump($x);
-        die('test');
         //print_R(func_get_args());
         if ($toMimetype == 'image/jpg') {
             $toMimetype = 'image/jpeg';