public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: mskala@ansuz.sooke.bc.ca
To: Elijah Meeks <elijahmeeks@yahoo.com>
Cc: xconq7@sources.redhat.com, xconq-hackers@lists.sourceforge.net
Subject: Re: Reduced Image Quality for 32x32 Pixel Units
Date: Sun, 12 Dec 2004 02:43:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.53.0412112100200.12327@opal.ansuz.sooke.bc.ca> (raw)
In-Reply-To: <20041212011304.61237.qmail@web13122.mail.yahoo.com>

On Sat, 11 Dec 2004, Elijah Meeks wrote:
> I've noticed in the new release of XConq that any unit
> images based on a 32x32 size now appear chunky and
> enlarged.  I submitted a bug report at

The issue, basically, is that the interface asks for images to be 44x44
(depending on the zoom level).  If there is no 44x44 image, the kernel
creates one by scaling.  The older behaviour was to just return the 32x32
image as the closest match.

One possible way of dealing with it might be to say, okay, 32x32 looks
better than 44x44, so we'll make the interface request 32x32 instead of
44x44.  That raises issues if the designer actually wanted 44x44.  We've
become accustomed to 32x32 unit images (even though the interfaces have
actually been programmed to request 44x44); during my work on the scaler
we already addressed one issue of this type by changing the Tcl/Tk
interface to request 32x32 unit images in the unit type list pane.

Another possible way of dealing with it might be to change the APIs so
that the interface can request from the kernel "Give me an image somewhere
in this range of sizes, and try to avoid scaling if possible."  It's
already looking like the API for getting images has to be made a lot more
general anyway, to deal with issues like isometric/non-isometric terrain.
At present, the kernel just has to kind of guess which kind of image the
interface wants based on the dimensions, and there's Trouble if it guesses
wrong.

I'm starting to get a rough idea of what API changes need to be made.
Maybe it'd be appropriate to do the CVS-branch thing, and/or wait until
after the next non-pre release, because it's going to require
across-the-board changes to both kernel and interfaces.

FWIW, I actually like the blocky look of the scaled images, but I'm
guessing I'm in the minority there.

-- 
Matthew Skala
mskala@ansuz.sooke.bc.ca                    Embrace and defend.
http://ansuz.sooke.bc.ca/

  reply	other threads:[~2004-12-12  2:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-05  0:04 Isometric images, sattelite images, and rotation mskala
2004-12-05  2:24 ` Eric McDonald
2004-12-05  4:59   ` Elijah Meeks
2004-12-05 10:27   ` Isometric images, satellite " mskala
2004-12-11  3:58     ` Eric McDonald
2004-12-11  4:20       ` Attribute System Elijah Meeks
2004-12-12  1:13         ` Eric McDonald
2004-12-12  2:11           ` Reduced Image Quality for 32x32 Pixel Units Elijah Meeks
2004-12-12  2:43             ` mskala [this message]
2004-12-12  3:27               ` Eric McDonald
2004-12-12  3:33                 ` mskala
2004-12-12  4:21                   ` Eric McDonald
2004-12-12  4:17                 ` Elijah Meeks
2004-12-12 19:05                   ` Eric McDonald

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=Pine.LNX.4.53.0412112100200.12327@opal.ansuz.sooke.bc.ca \
    --to=mskala@ansuz.sooke.bc.ca \
    --cc=elijahmeeks@yahoo.com \
    --cc=xconq-hackers@lists.sourceforge.net \
    --cc=xconq7@sources.redhat.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).