Changeset 938


Ignore:
Timestamp:
01/22/08 20:13:47 (12 years ago)
Author:
ray
Message:

fixed an error from rev [937] and replaced linux.gif from demo_images that was somehow broken

Location:
trunk/plugins
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ImageManager/Classes/GD.php

    r937 r938  
    514514                                else 
    515515                                { 
    516                                         $color_values = imagecolorsforindex($this->imageHandle,$transparent); 
     516                                        $color_values = imagecolorsforindex($this->imageHandle,$c); 
    517517                                } 
    518518                                if ($color_values['alpha'] >= 126) 
  • trunk/plugins/ImageManager/Classes/ImageEditor.php

    r937 r938  
    125125                $img = Image_Transform::factory(IMAGE_CLASS); 
    126126                $img->load($fullpath); 
    127                 if ( is_callable($img,'paletteToTrueColorWithTransparency') && !imageistruecolor( $img->imageHandle)) 
     127                 
     128                if ( is_callable( array($img,'paletteToTrueColorWithTransparency')) && !imageistruecolor($img->imageHandle)) 
    128129                { 
    129130                        $img->paletteToTrueColorWithTransparency(); 
Note: See TracChangeset for help on using the changeset viewer.