public function ImageAPIOptimizeProcessorKraken::getDescription in Image Optimize (or ImageAPI Optimize) 7.2
Overrides ImageAPIOptimizeProcessorInterface::getDescription
File
- modules/
kraken/ plugins/ ImageAPIOptimizeProcessorKraken.inc, line 117
Class
Code
public function getDescription() {
// Check to see if we can contact the API.
if (!$this
->libraryPresent()) {
return t('<strong>Kraken PHP library not present.</strong>');
}
else {
if ($this
->isLossy()) {
return t('Using lossy compression.');
}
else {
return t('Using lossless compression.');
}
}
}