I'm trying to create a thumbnail / cutout of a larger image and it works for a large percentage of the time but every now and again I get the following:
Warning: imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Corrupt
JPEG data: 626 extraneous bytes before marker 0xd9 in code.php on line 5
This is line 5 of "code.php":
$srcImg = imagecreatefromjpeg('5f48ecb107a1e297d23392f703992d60.jpg');
The image displays fine in windows but gd just fails to create the resource so I end up with a blank image (where the cutout section was supposed to go).
For frame of reference this is with regard to car titles and the system has 2784 that worked and only 36 that didn't so not a big deal but it has my curiosity piqued.