unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Doc-view failing to generate image
Date: Mon, 29 Oct 2012 11:34:31 +0100	[thread overview]
Message-ID: <87a9v5sh1k.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: m34nletaa6.fsf@gmail.com

Edward Lilley <ejlilley@gmail.com> writes:

Hi Edward,

> I'm getting a funny error when trying to open (simple C-x C-f) PDF
> files in doc-view mode. The png appears in /tmp/docview500/foo, but
> then the image doesn't actually appear in the buffer -- and then
> *Messages* shows the error:
>
> ImageMagick error: NoDecodeDelegateForThisImageFormat
> \ `/tmp/docview500/obsmltest.pdf-07534b262c8761286817c76762acef2c/page-1.png'
> \ @ error/constitute.c/ReadImage/550 [2 times]
>
> (line breaks added)
>
> ...which is a bit baffling.

It seems your ImageMagick hasn't been compiled with PNG support.  Does

  $ identify -list format

include PNG with mode "rw-"?  Also,

  $ identify -list configure

should include --with-png in CONFIGURE and png in DELEGATES.

What distro are you using?

Bye,
Tassilo




  parent reply	other threads:[~2012-10-29 10:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-29  0:02 Doc-view failing to generate image Edward Lilley
2012-10-29  5:53 ` Jambunathan K
2012-10-29 10:34 ` Tassilo Horn [this message]
2012-10-29 11:25   ` Edward Lilley

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=87a9v5sh1k.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --cc=help-gnu-emacs@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.
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).