[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image file name extension not recognized

From: Chong Yidong
Subject: Re: Image file name extension not recognized
Date: Fri, 02 Feb 2007 20:03:08 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

Vinicius Jose Latorre <address@hidden> writes:

> I have some image files with names like:
>    IMG_0366.JPG
> When I try to open it, Emacs does not recognize it as an image file.
> But if I rename the file to:
>    IMG_0366.jpg
> Then Emacs recognizes the file as an image file.
> Shouldn't Emacs recognize files with .JPG extension as an image file?

Jpeg images are supposed to be autodetected using their contents, even
if the file extension is JPG (see image-type-header-regexps).
Apparently, that autodetection is failing in this case.  Could you try
to find out why?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]