ImageBundle
ImageBundle copied to clipboard
OutOfMemoryException
Hi, I have a OutOfMemoryException that I can't catch. Do you why ?
try {
$img = $this->get('image.handling')->open('/path/to/my/image.png');
$chemin = $img->jpeg(80);
} catch(\Exception $e) {
//} catch(\OutOfMemoryException $e) {
}
The catch bloc is never triggered, maybe a throw is missing in ImageBundle ?