avalanche123/Imagine — Issue #98: Premature end of JPEG file
Author: cbeyer
Created: 2012-02-23 13:46:39+00:00
State: open

Using Imagine for importing images (with SonataMediaBundle), I've got this error :

``Notice: imagecreatefromjpeg() [function.imagecreatefromjpeg]:gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file``

Line 157 in Imagine.php

Is it possible to have a try/catch, an exception or else for detecting this problem ?

Thanks !