all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Edward Lilley <ejlilley@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Doc-view failing to generate image
Date: Mon, 29 Oct 2012 11:23:01 +0530	[thread overview]
Message-ID: <87liepbz9e.fsf@gmail.com> (raw)
In-Reply-To: <m34nletaa6.fsf@gmail.com> (Edward Lilley's message of "Mon, 29 Oct 2012 00:02:57 +0000")

Edward Lilley <ejlilley@gmail.com> writes:

> Hi all
>
> 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.

M-x report-emacs-bug RET

Let experts figure out what the deal is.

> Any ideas? Poking around in doc-view.el left me none the wiser (it seems
> the above is an ImageMagick error, but I can't see exactly where
> doc-view calls an ImageMagick program)

Meanwhile, try disabling imagemagick or play around with the following
variables, visible via M-x customize-group RET image

,----
| Show Value Imagemagick Enabled Types 
|    List of ImageMagick types to treat as images. More
| 
| Show Value Imagemagick Types Inhibit 
|    List of ImageMagick types that should never be treated as images. More
`----

You can also search for imagemagick in NEWS file - C-h n.

Here are the top few entries.

,----
| ** ImageMagick support, if available, is automatically enabled.
| It is no longer necessary to call `imagemagick-register-types'
| explicitly to install ImageMagick image types; that function is called
| automatically at startup, or when customizing a relevant imagemagick-
| option.
| +++
| *** Setting `imagemagick-types-inhibit' to t now disables the use of
| ImageMagick to view images.  You must call imagemagick-register-types
| afterwards if you do not use customize to change this.
| +++
| *** The new variable `imagemagick-enabled-types' also affects which
| ImageMagick types are treated as images.  The function
| `imagemagick-filter-types' returns the list of types that will be
| treated as images.
| ---
| *** Images displayed via ImageMagick now support transparency and the
| :background image spec property.
| 
| 
| ** Emacs can be compiled with ImageMagick support.
| This happens by default if a suitably recent version of the library is
| found at build time.  To prevent this, use the configure option
| `--without-imagemagick'.  See below for ImageMagick features.
| This feature is not available for the Nextstep or MS ports.
`----



> Using: GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.4)
>
> thanks,
> Edward
>
>
>
>

-- 



  reply	other threads:[~2012-10-29  5:53 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 [this message]
2012-10-29 10:34 ` Tassilo Horn
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

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

  git send-email \
    --in-reply-to=87liepbz9e.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=ejlilley@gmail.com \
    --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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.