From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81145 Path: news.gmane.org!not-for-mail From: Vitalie Spinu Newsgroups: gmane.emacs.gnus.general Subject: Re: Standardize image height for the article's in-line display Date: Wed, 01 Feb 2012 22:10:03 +0200 Organization: EUR Message-ID: <87obti5n8k.fsf@gmail.com> References: <87hazaehu2.fsf@gmail.com> <87k44672ss.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1328127031 10997 80.91.229.3 (1 Feb 2012 20:10:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2012 20:10:31 +0000 (UTC) Cc: ding@gnus.org To: Lars Ingebrigtsen Original-X-From: ding-owner+M29426@lists.math.uh.edu Wed Feb 01 21:10:30 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RsgVg-0003F9-QD for ding-account@gmane.org; Wed, 01 Feb 2012 21:10:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RsgVT-0007BA-Du; Wed, 01 Feb 2012 14:10:15 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RsgVR-0007Ai-Tg for ding@lists.math.uh.edu; Wed, 01 Feb 2012 14:10:13 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RsgVQ-0005Td-Nz for ding@lists.math.uh.edu; Wed, 01 Feb 2012 14:10:13 -0600 Original-Received: from mail-ey0-f172.google.com ([209.85.215.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RsgVP-0008Fq-7x; Wed, 01 Feb 2012 21:10:11 +0100 Original-Received: by eaae12 with SMTP id e12so844332eaa.17 for ; Wed, 01 Feb 2012 12:10:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=SZCNbl6H6uzkJgLHVJbtGDm74GSRuCVlHq9AaDITAnU=; b=XM3H4wWVjXJ9/YYVUYOxDdPy9OppVUnFIy+RI4BYVT+lfyIHwkO7TbIJypXQ/T4Iyf 9dzyYRzY/kH6F7Dtd4NPNQ2pxA7HQrzQialR8qen5PD+ArT7cC191J2Fv8UfKam/gNky bAr0DG4x2bO22DOdbOOUa+nVVKly6Qij08yg4= Original-Received: by 10.213.19.139 with SMTP id a11mr30515ebb.87.1328127005618; Wed, 01 Feb 2012 12:10:05 -0800 (PST) Original-Received: from localhost (host-static-188-237-125-135.moldtelecom.md. [188.237.125.135]) by mx.google.com with ESMTPS id n17sm231220eei.3.2012.02.01.12.10.04 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Feb 2012 12:10:05 -0800 (PST) In-Reply-To: <87k44672ss.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 01 Feb 2012 20:48:35 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81145 Archived-At: On Wed, Feb 01 2012 21:48, Lars Ingebrigtsen wrote: > Vitalie Spinu writes: >> Is there a way to scale all images in the gnus article to the same >> predefined height? > There isn't any code in Gnus for doing so at the present... > Images are mainly displayed in two ways: As MIME parts, and as > from HTML, and those are handled totally orthogonally. > But either or both could have hooks for letting people do things > automatically with them. But I'm not sure how useful that would be in > general... As long as I can call imagemagic on the image object, that would be great. May be a better idea would be to store all the images in temporary directory and open it in image-dired? I have no clue of GNUS internals, but it doesn't look too difficult. How can I iterate over mime objects from an article? Thanks, Vitalie.