From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.help Subject: Re: Image View mode and image dimensions Q Date: Sat, 11 Oct 2008 00:48:21 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223678971 19550 80.91.229.12 (10 Oct 2008 22:49:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Oct 2008 22:49:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "srdjan.markovich@gmail.com" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 11 00:50:29 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KoQnq-0000rq-Ni for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Oct 2008 00:49:47 +0200 Original-Received: from localhost ([127.0.0.1]:52624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoQmm-0006Wk-O6 for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Oct 2008 18:48:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KoQmW-0006Wb-VG for help-gnu-emacs@gnu.org; Fri, 10 Oct 2008 18:48:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KoQmV-0006WL-DS for help-gnu-emacs@gnu.org; Fri, 10 Oct 2008 18:48:24 -0400 Original-Received: from [199.232.76.173] (port=43411 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoQmV-0006WI-88 for help-gnu-emacs@gnu.org; Fri, 10 Oct 2008 18:48:23 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.158]:56844) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KoQmU-0003mH-Qg for help-gnu-emacs@gnu.org; Fri, 10 Oct 2008 18:48:23 -0400 Original-Received: by fg-out-1718.google.com with SMTP id l26so491435fgb.30 for ; Fri, 10 Oct 2008 15:48:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vg9ZeeILmQxvlYvZH0W+0AX16X/dKFAO9OTCxS9vczw=; b=beAr9sduQ7+IRqNCJhWhB3cekbaiOOJUoUZnSVdMdshf15gt+ng2BrpuIMOejqZqmo o3G9Dhiu6ADRC/qeVeyWfClOMUZmg2W5LqAGF/v+op5Tc7f3IDv9nBzMmDz2zZGMvqO+ GHHf4v3CP3Zih3h5NUzKhEjyIeesXg9zB9dNo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UV2GVuWl2JXd31ddDmdTx/P3bUDH4TNX2enRcT+wNyuUot2kyqHZAA3PVNWemH6wdr Lmkaci0t2ulC8C3wb4TTxuYpvYjCgtXnwobLoM2zXeM4NoIqZgmZgJ7ItNMVlq8Ak04m RB9k23BltnvFVpW206xA/qWJzOhKFPj+Z2Fe8= Original-Received: by 10.86.80.17 with SMTP id d17mr2178674fgb.47.1223678901237; Fri, 10 Oct 2008 15:48:21 -0700 (PDT) Original-Received: by 10.86.65.3 with HTTP; Fri, 10 Oct 2008 15:48:21 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58684 Archived-At: On Sat, Oct 11, 2008 at 12:14 AM, srdjan.markovich@gmail.com wrote: > Hi there! > > I am looking for solution to display image dimensions in Image View > mode. > I really like the possibility to display image in dired mode. The only > thing I am not able to find is to retrieve the width and height of > displayed image. > Is there a way to do this? (let ((sizes (image-size (create-image (expand-file-name src)) t)))