Ticket #1415: GD.diff

File GD.diff, 1013 bytes (added by guest, 11 years ago)
  • (a) opt/lampp/htdocs/xinha/plugins/ImageManager/Classes/GD.php vs. (b) tmp/kde-root/krusaderoq5288.tmp

    a b  
    343343    * @return true on success or pear error 
    344344    * @see PEAR::isError() 
    345345    */ 
    346     function _resize($new_x = 0, $new_y = 0) { 
     346    function _resize($new_x, $new_y) { 
    347347        if ($this->resized === true) { 
    348348            return false; /*PEAR::raiseError('You have already resized the image without saving it.  Your previous resizing will be overwritten', null, PEAR_ERROR_TRIGGER, E_USER_NOTICE);*/ 
    349349        } 
     
    560560     * Display image without saving and lose changes 
    561561     * 
    562562     * @param string type (JPG,PNG...); 
    563      * @param int quality 85 
     563     * @param int quality 75 
    564564     * 
    565565     * @return none 
    566566     */ 
    567     function display($type = '', $quality = 85) 
     567    function display($type = '', $quality = 75) 
    568568    { 
    569569        if ($type != '') { 
    570570            $this->type = $type;