all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "David O'Toole" <dto@gnu.org>
To: joakim@verona.se
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: image scaling
Date: Thu, 21 Feb 2008 07:43:17 -0500	[thread overview]
Message-ID: <64bfe3d50802210443j72e3a96ek50be558a2e888a72@mail.gmail.com> (raw)
In-Reply-To: <m3skzm8vz3.fsf@verona.se>

I would like to suggest basic image-composition as well. I wrote a
graphical roguelike engine in Emacs that uses the external "convert"
program to resize and compose (i.e. overlay on top of one another)
tiny graphical tiles that represent the player, monsters, walls,
objects to be picked up, et cetera.

This works fine with Imagemagick, but it would be wonderful to be able
to compose these images directly within Emacs.

Some screenshots here: http://dto.mamalala.org/notebook/rlx.el

Currently won't compile due to refactoring, but the screenshots are real.

On Thu, Feb 21, 2008 at 5:06 AM,  <joakim@verona.se> wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>
>
> > Looking at the Elisp manual's "38.16.2 Image Descriptors", it seems that
>  > we do not support image scaling.
>
>  > I'd like to add such a feature to image-mode.el, but am wondering how we
>  > should go about doing it.  Would there be some advantage to provide it
>  > at the C level (e.g. if some of the image libs we use already provide
>  > the necessary functionality) or should we just bite the bullet and call
>  > some external tool like "convert -scale ..." (with the disadvantage that
>  > flushing the image cache will not automatically cause the image to be
>  > re-scaled).
>
>  I've looked at this briefly while preparing the SVG patch for inclusion.
>
>  I think it would be apropriate to do this at the C level, but what would
>  the Lisp level interface look like?
>
>  >
>  >
>  >         Stefan
>  >
>  --
>  Joakim Verona
>
>
>




  reply	other threads:[~2008-02-21 12:43 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-21  4:21 image scaling Stefan Monnier
2008-02-21  8:42 ` Mathias Dahl
2008-02-21  9:10   ` Miles Bader
2008-02-21 15:59   ` Stefan Monnier
2008-02-21 20:41     ` Mathias Dahl
2008-02-21 10:01 ` David Kastrup
2008-02-21 10:06 ` joakim
2008-02-21 12:43   ` David O'Toole [this message]
2008-02-21 18:43 ` Chong Yidong
2008-02-21 21:49   ` David Kastrup
2008-02-21 22:20     ` Miles Bader
2008-02-22  6:35       ` Jan Djärv
2008-02-22  6:49         ` Miles Bader
2008-02-22  7:26           ` Jan Djärv
2008-02-22 22:57         ` Richard Stallman
2008-02-22  4:57     ` Chong Yidong
2008-02-22  7:48       ` David Kastrup
2008-02-22 20:28         ` Chong Yidong
2008-02-22 21:52           ` David Kastrup
2008-02-22 22:41             ` Chong Yidong
2008-02-22 22:51               ` David Kastrup
2008-02-22 10:23       ` Juanma Barranquero
2008-02-22 10:55         ` Thien-Thi Nguyen
2008-02-22 11:06           ` Juanma Barranquero
2008-02-22 20:38             ` Chong Yidong
2008-02-22 20:47               ` Juanma Barranquero
2008-02-22 22:21               ` Miles Bader
2008-02-23 19:28               ` Richard Stallman
2008-02-22 22:57       ` Richard Stallman
2008-02-21 22:28 ` Richard Stallman

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=64bfe3d50802210443j72e3a96ek50be558a2e888a72@mail.gmail.com \
    --to=dto@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=joakim@verona.se \
    --cc=monnier@iro.umontreal.ca \
    /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.