OC_Log::write('core','OC_Image->fixOrientation() Error during alphasaving.',OC_Log::DEBUG);
$this->logger->debug('OC_Image->fixOrientation() Error during alpha-saving',array('app'=>'core'));
returnfalse;
}
}else{
OC_Log::write('core','OC_Image->fixOrientation() Error during alphablending.',OC_Log::DEBUG);
$this->logger->debug('OC_Image->fixOrientation() Error during alpha-blending',array('app'=>'core'));
returnfalse;
}
}else{
OC_Log::write('core','OC_Image->fixOrientation() Error during oriention fixing.',OC_Log::DEBUG);
$this->logger->debug('OC_Image->fixOrientation() Error during orientation fixing',array('app'=>'core'));
returnfalse;
}
}
...
...
@@ -401,52 +413,54 @@ class OC_Image {
/**
* Loads an image from a local file, a base64 encoded string or a resource created by an imagecreate* function.
*
* @param resource|string $imageRef The path to a local file, a base64 encoded string or a resource created by an imagecreate* function or a file resource (file handle ).
* @return resource|false An image resource or false on error