From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: Doc-view failing to generate image Date: Mon, 29 Oct 2012 11:23:01 +0530 Message-ID: <87liepbz9e.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1351489880 26157 80.91.229.3 (29 Oct 2012 05:51:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2012 05:51:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Edward Lilley Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 29 06:51:29 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TSiFt-0001Ap-V6 for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 06:51:22 +0100 Original-Received: from localhost ([::1]:38490 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSiFl-0003Of-QN for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 01:51:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSiFf-0003OU-7E for help-gnu-emacs@gnu.org; Mon, 29 Oct 2012 01:51:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSiFe-00079e-3a for help-gnu-emacs@gnu.org; Mon, 29 Oct 2012 01:51:07 -0400 Original-Received: from mail-pa0-f41.google.com ([209.85.220.41]:44957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSiFd-00079Y-TU for help-gnu-emacs@gnu.org; Mon, 29 Oct 2012 01:51:06 -0400 Original-Received: by mail-pa0-f41.google.com with SMTP id fa10so3252703pad.0 for ; Sun, 28 Oct 2012 22:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=wZI/9KViWJJifhDJekCzmjxgaxk+vgRoMdz+OznGCJU=; b=c8exQIOybGIg/mKPTOK5Sgy6EE8zIgK2WII/nEXX03nlHHLw8e9wrX4aAg/N5npHO9 P/Cg0N4hLSRhfluG1Ps+1AMjd/dLkXRCLC/zTbUWNGNALVmhKb85J9HIGSWkoi45UQDJ 8QKfUs/mrrKe6/JR8eOnBI3eV0gvmo/iIbOwpODOZx3Eou9krx+Ry8JnoCUgwZbRAlnw QV3ccAwcuACR4rgaCXFauQSNrrn++Y+TFy5iB3V0DwYATPlpmXDswoNYkj/2cQFAqeP5 yp+ObNOYP356ozZ1B2tScRanECbjjWIQss1yuODFxZiP/rhJvexLHcu9xGqN6Y7H2twS 6KdQ== Original-Received: by 10.68.237.167 with SMTP id vd7mr80515650pbc.161.1351489864844; Sun, 28 Oct 2012 22:51:04 -0700 (PDT) Original-Received: from debian-6.05 ([101.63.222.224]) by mx.google.com with ESMTPS id ox7sm5436918pbb.14.2012.10.28.22.51.01 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 28 Oct 2012 22:51:03 -0700 (PDT) In-Reply-To: (Edward Lilley's message of "Mon, 29 Oct 2012 00:02:57 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.220.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87479 Archived-At: Edward Lilley 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 > > > > --