From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Fit image to window height or width Date: Thu, 15 Jan 2015 13:02:13 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421323390 12300 80.91.229.3 (15 Jan 2015 12:03:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2015 12:03:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Vaidheeswaran Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 15 13:03:03 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YBj8c-0004zZ-IT for ged-emacs-devel@m.gmane.org; Thu, 15 Jan 2015 13:02:58 +0100 Original-Received: from localhost ([::1]:50276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBj8b-0003cC-Dh for ged-emacs-devel@m.gmane.org; Thu, 15 Jan 2015 07:02:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBj8O-0003c7-JR for emacs-devel@gnu.org; Thu, 15 Jan 2015 07:02:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBj8J-0004Mw-Iq for emacs-devel@gnu.org; Thu, 15 Jan 2015 07:02:44 -0500 Original-Received: from mx6.bahnhof.se ([213.80.101.16]:60204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBj8J-0004Mr-CK for emacs-devel@gnu.org; Thu, 15 Jan 2015 07:02:39 -0500 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx6-reinject (Postfix) with ESMTP id 7A2A8430F0; Thu, 15 Jan 2015 13:02:36 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF2) Original-Received: from mf2.bahnhof.se ([127.0.0.1]) by localhost (mf2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 73eBAMWkxA60; Thu, 15 Jan 2015 13:02:30 +0100 (CET) Original-Received: from mta.verona.se (h-235-62.a149.priv.bahnhof.se [85.24.235.62]) by mf2.bahnhof.se (Postfix) with ESMTP id B66F194024F; Thu, 15 Jan 2015 13:02:23 +0100 (CET) Original-Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id 82A90529984; Thu, 15 Jan 2015 12:02:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Original-Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ox54B-5LaS2B; Thu, 15 Jan 2015 13:02:13 +0100 (CET) Original-Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id 7B1E8529973; Thu, 15 Jan 2015 13:02:13 +0100 (CET) In-Reply-To: (Vaidheeswaran's message of "Thu, 15 Jan 2015 17:08:10 +0530") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.80.101.16 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181293 Archived-At: Vaidheeswaran writes: > (See my earlier post) > > I am using doc-view.el for digitizing scanned books. I usually have > the document page span the whole of window width. Occassionally, I > run into a page -- mostly a table and occsionally an image -- that is > in landscape format. > > 1. I find that `image-transform-fit-to-height' and friends apparently > don't work. Did you configure with imagemagik? > > 2. I want an ablility to to transform an image that is rendered by > doc-view mode. > > (Even if image transformation is broken in the core library, it should > be doable either via "convert" command. See image-dired.el. AFAIK, > shr.el also does image transformation without relying on command > line.) > > -- Joakim Verona