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: create-image on console emacs Date: Fri, 7 May 2010 00:21:49 +0200 Message-ID: References: <8339y4pzxc.fsf@garydjones.name> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273184578 12572 80.91.229.12 (6 May 2010 22:22:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 May 2010 22:22:58 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Kevin Rodgers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 07 00:22:56 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OA9T2-0001xK-Lc for geh-help-gnu-emacs@m.gmane.org; Fri, 07 May 2010 00:22:52 +0200 Original-Received: from localhost ([127.0.0.1]:48078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA9T2-0001UQ-0E for geh-help-gnu-emacs@m.gmane.org; Thu, 06 May 2010 18:22:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OA9SU-0001RZ-0K for help-gnu-emacs@gnu.org; Thu, 06 May 2010 18:22:18 -0400 Original-Received: from [140.186.70.92] (port=45937 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA9SS-0001PE-NA for help-gnu-emacs@gnu.org; Thu, 06 May 2010 18:22:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OA9SN-0003EJ-3L for help-gnu-emacs@gnu.org; Thu, 06 May 2010 18:22:16 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:59333) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA9SL-0003E8-WF for help-gnu-emacs@gnu.org; Thu, 06 May 2010 18:22:10 -0400 Original-Received: by fxm1 with SMTP id 1so380754fxm.0 for ; Thu, 06 May 2010 15:22:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=pQabWnxL5Y0SOTNlrXED+ym2bxLzRgyOaosg17Xckg8=; b=xfcNNICMCfvyeYZ+IeN9Vi9lS9u/wm5zWuma+Sa6q3cpNfzfxN86Mp3MaCrGsYksX4 B1PXC/OI5cbCLffyQ1/umfqZyn3a1Wt6DczKpIKb9C3nH79wA02+TSRTVSjKfWp/46Eq xZFTkX4qXXnJjGyeaUIYOImMlt36Qt+dsW0vw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=Iq7sUtTAMHligtbZDvTdxiVkGjoPLiyyxxk0Q9NMXnz4hmoZM12BxR6e7Sp1cVR7a2 pdHwwKw6aQPKVTto6+uFHF6Zr7C7kNROwG9c5KmnWfsfsuFuG+4saLq5C31d5dYtkCmU 4rC1Ynl0f/QQnSk0cjz+WuNaHwlhyO9WpZ+3Q= Original-Received: by 10.239.188.19 with SMTP id n19mr759297hbh.192.1273184529114; Thu, 06 May 2010 15:22:09 -0700 (PDT) Original-Received: by 10.239.164.81 with HTTP; Thu, 6 May 2010 15:21:49 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.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:73532 Archived-At: On Fri, May 7, 2010 at 12:05 AM, Kevin Rodgers wrote: >> >> I tested this starting from "emacs -nw": >> >> =C2=A0(setq x (create-image "c:/my-image.jpg")) >> =C2=A0(setq s (image-size x t)) >> >> create-image works, but image-size fails.with "Non-W32 frame used". >> >> It looks like the reason is that internally images are in some way >> bound to frames. I do not know the reason for this, but you can see it >> in the code of `image-size'. >> >> Maybe it is a bug. Please submit a bug report. > > Just a guess: the size of the image depends on the resolution of the > display system. Maybe, I have never understood image sizes. I thought that perhaps the pixel size was independent of the display.