I have discovered that $image->show() was setting invalid Content-Type header. "jpg" in case of "jpg" format instead of "image/jpg".
There seems to be an invalid argument order in the constructor call to Imagine\Image\Format.
The constructor signature is:
private function __construct($id, $mimeType, $canonicalFileExtension, $alternativeIDs = array())
While callers were clearly setting MIME type into 3. argument instead of second one.
I have discovered that $image->show() was setting invalid Content-Type header. "jpg" in case of "jpg" format instead of "image/jpg".
There seems to be an invalid argument order in the constructor call to Imagine\Image\Format. The constructor signature is:
private function __construct($id, $mimeType, $canonicalFileExtension, $alternativeIDs = array())
While callers were clearly setting MIME type into 3. argument instead of second one.