all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gary <help-gnu-emacs@garydjones.name>
To: Help-gnu-emacs@gnu.org
Subject: create-image on console emacs
Date: Thu, 06 May 2010 21:56:15 +0200	[thread overview]
Message-ID: <8339y4pzxc.fsf@garydjones.name> (raw)

Can anyone explain to me why If I use emacs in the console and call
create-image I get a message like "Non-X frame used" (whether I use an
X11 binary or non-X)? I don't get this at all.

The reason I ask is that I am trying to use the code from
http://xahlee.org/emacs/emacs_html.html (*waves*) and as I said to Xah
Lee off-list, while it may well be necessary to (for example) get an
image's dimensions in order to display an image, the reverse is not
true. Other console tools are able to do it fine, for example
ImageMagick can tell me the dimensions from the command line:

$ identify work/web1/Bilder/aussen.jpg
work/web1/Bilder/aussen.jpg JPEG 874x583 874x583+0+0 DirectClass 8-bit
58.75kb

X doesn't need to get involved until such time things actually (try to)
get displayed.
g
-- 
Gary




             reply	other threads:[~2010-05-06 19:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-06 19:56 Gary [this message]
2010-05-06 20:18 ` create-image on console emacs Lennart Borgman
2010-05-06 22:05   ` Kevin Rodgers
2010-05-06 22:21     ` Lennart Borgman
     [not found] ` <mailman.11.1273177123.30155.help-gnu-emacs@gnu.org>
2010-05-07  2:53   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8339y4pzxc.fsf@garydjones.name \
    --to=help-gnu-emacs@garydjones.name \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.