Re: Scaling icons
- From: "J. Ali Harlow" <ali avrc city ac uk>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org, alexl redhat com
- Subject: Re: Scaling icons
- Date: Fri, 16 May 2003 19:34:33 +0100
On 2003.05.16 14:21 Owen Taylor wrote:
> On Fri, 2003-05-16 at 02:33, J. Ali Harlow wrote:
> >
> > [snip]
> >
> > Can you explain the rationale for when scaling is applied in
> > unthemed icons? Do we know why nautilus does it this way?
> >
> > My first instinct would be to decide when to scale based on
> > desired_size / image_size, eg.,:
> >
> > don't scale iff 1/n < desired_size / image_size < n
> >
> > where n might be something like 2.
>
> Alex may remember better than I do, but I think the reason that
> this was added to nautilus was that problems appeared with
> small icons being scaled to large sizes, which typically
> looks hideous. You can always scale down and things just get
> a little bit fuzzy, scaling up is more problematical.
>
> Your probably right that basing on the size rather than scale factor
> doesn't make a lot of sense; so perhaps a rule along the lines
> scale only if desired_size / image_size < 1.5 makes sense.
Assuming there's no real reason why nautilus's algorithm is
based on size, this appears more correct IMHO.
> Or perhaps we just shouldn't scale unthemed icons at all.
Not something I feel able to comment on.
--
Ali Harlow Email: ali avrc city ac uk
Research programmer Tel: (020) 7040 4348
Applied Vision Research Centre Intl: +44 20 7040 4348
City University Fax: (020) 7040 5515
London Intl: +44 20 7040 5515
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]