From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Hill Newsgroups: gmane.emacs.help Subject: Scaling JPEG images Date: Mon, 27 Jan 2003 20:59:46 -0800 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3E2DEBA5.2070408@rogers.com> <84n0lttwrd.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Trace: main.gmane.org 1043729974 19928 80.91.224.249 (28 Jan 2003 04:59:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 28 Jan 2003 04:59:34 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18dNqP-0005BG-00 for ; Tue, 28 Jan 2003 05:59:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18dNqz-0001yn-04 for gnu-help-gnu-emacs@m.gmane.org; Tue, 28 Jan 2003 00:00:09 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18dNqf-0001s6-00 for help-gnu-emacs@gnu.org; Mon, 27 Jan 2003 23:59:49 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18dNqd-0001nZ-00 for help-gnu-emacs@gnu.org; Mon, 27 Jan 2003 23:59:48 -0500 Original-Received: from renfield.synergymicro.com ([153.105.4.30] helo=synergymicro.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18dNqc-0001it-00 for help-gnu-emacs@gnu.org; Mon, 27 Jan 2003 23:59:47 -0500 Original-Received: from synergy.synergy.encinitas.ca.us ([153.105.4.29]) by synergymicro.com (8.9.3/8.9.3) with ESMTP id VAA06804 for ; Mon, 27 Jan 2003 21:00:24 -0800 Original-Received: from [198.17.100.22] (G-Hill-Mac [198.17.100.22])VAA13919 for ; Mon, 27 Jan 2003 21:05:40 -0800 In-Reply-To: <84n0lttwrd.fsf@lucy.is.informatik.uni-duisburg.de> Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5996 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5996 In emacs-21 (running on a unix system) it's a piece of cake to display a jpeg image in the current buffer: (insert-image (create-image "rms.jpeg") (point)) But I would also like to be able to automatically scale it, e.g. to 25% or 200% of the original size. Anyone know a quick and easy way to do that? Thanks in advance. --Greg