Development

Changeset 23646

You must first sign up to be able to contribute.

Changeset 23646

Show
Ignore:
Timestamp:
11/05/09 21:37:03 (4 years ago)
Author:
agilbert
Message:

Some formatting stuff.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/pkImageConverterPlugin/trunk/lib/pkImageConverter.class.php

    r23609 r23646  
    3434  } 
    3535 
    36   static public function scaleToFit($fileIn, $fileOut,  
    37     $width, $height, $quality = 75) 
     36  static public function scaleToFit($fileIn, $fileOut, $width, $height, $quality = 75) 
    3837  { 
    3938    if ($width === false) { 
     
    5655  } 
    5756 
    58   static public function cropOriginal($fileIn, $fileOut, $width, $height, 
    59     $quality = 75) 
     57  static public function cropOriginal($fileIn, $fileOut, $width, $height, $quality = 75) 
    6058  { 
    6159    $width = ceil($width); 
     
    383381        } 
    384382      } 
    385       # Bounding box goes to stderr, not stdout! Charming 
     383      // Bounding box goes to stderr, not stdout! Charming 
    386384      $cmd = "(PATH=$path:\$PATH; export PATH; gs -sDEVICE=bbox -dNOPAUSE -dFirstPage=1 -dLastPage=1 -r100 -q " . escapeshellarg($file) . " -c quit) 2>&1"; 
    387385      $in = popen($cmd, "r");