unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 9045@debbugs.gnu.org, Joakim Verona <joakim@verona.se>
Subject: bug#9045: 24.0.50; Cannot display image: (Invalid image type `jpeg')
Date: Thu, 26 Apr 2012 16:44:10 +0800	[thread overview]
Message-ID: <87haw651d1.fsf@gnu.org> (raw)
In-Reply-To: <prvcv788yd.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 12 Jul 2011 17:50:34 -0400")

Glenn Morris <rgm@gnu.org> writes:

>> I have configured GNU Emacs without direct JPEG and TIFF support.
>> After launching it with -Q I execute in *scratch* buffer
>>
>> 	(imagemagick-register-types)
>>
>> (nil is returned). When I view from dired file.jpeg, then only its
>> bytes are displayed in a (Fundamental Image View) buffer. In
>> *Messages* buffer
>>
>> 	Cannot display image: (Invalid image type `jpeg')
>
> 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.





  reply	other threads:[~2012-04-26  8:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-10 23:39 bug#9045: 24.0.50; Cannot display image: (Invalid image type `jpeg') Peter Dyballa
2011-07-12 21:50 ` Glenn Morris
2012-04-26  8:44   ` Chong Yidong [this message]
2012-10-23  0:17     ` Glenn Morris
2012-10-23  0:47       ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87haw651d1.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=9045@debbugs.gnu.org \
    --cc=joakim@verona.se \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).