fix image issue
[pear] / File / Convert.php
index 6cf3a85..22c4fe5 100644 (file)
@@ -104,7 +104,7 @@ class File_Convert
         
         //echo "testing scale image";
         require_once 'File/Convert/Solution/scaleimage.php';
-        $sc = new File_Convert_Solution_scaleimage($toMimetype, $toMimetype);
+        $sc = new File_Convert_Solution_scaleimage($toMimetype, $toMimetype, self::$options);
         //$sc->convert = $this;
         $sc->debug= $this->debug;
         $this->solutions[] = $sc;
@@ -187,7 +187,7 @@ class File_Convert
             require_once 'File/Convert/Solution/'. $scf . '.php';
             $scls = 'File_Convert_Solution_' . $scf;
                 
-            $sc = new $scls($toMimetype, $toMimetype);
+            $sc = new $scls($toMimetype, $toMimetype, self::$options);
             $sc->debug=  $this->debug;
             $this->solutions[] = $sc;
             $x  = str_replace('c', 'x', $x);