Subject: Re: bug#9045: 24.0.50; Cannot display image: (Invalid image type `jpeg')

From: Glenn Morris <[email-masked]>
Date: Mon, 22 Oct 2012 20:17:41 -0400

Chong Yidong wrote:

>> This happens because in the function `image-type',
>> image-type-from-file-header returns `jpeg', and image-types has no entry
>> for jpeg.
>
> Fixed in trunk.

Problem reintroduced by 2012-06-11 change to imagemagick-register-types.

Perhaps image-type-from-file-name should stop at the first _supported_
image type it finds?