public function isObsolete()
{
if ($this->options['overwrite'] === true) {
return false;
}
// try to use the original if resizing is not necessary
if ($this->options['width'] >= $this->source->width() && $this->options['height'] >= $this->source->height() && $this->options['crop'] == false && $this->options['blur'] == false && $this->options['upscale'] == false) {
return true;
}
return false;
}