修复颜色获取失败的bug
This commit is contained in:
@@ -53,7 +53,7 @@ class imageColor{
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
try{
|
try{
|
||||||
$palette=new ImagePalette( $img,1,10,$setting['lib'],$this->palette);
|
$palette=new ImagePalette( $img,1,10,$lib,$this->palette);
|
||||||
$palettes=$palette->palette;
|
$palettes=$palette->palette;
|
||||||
}
|
}
|
||||||
catch(\Exception $e){
|
catch(\Exception $e){
|
||||||
|
|||||||
Reference in New Issue
Block a user