[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: check my debian package (smarty)..



On Sun, Jan 05, 2003 at 11:06:50PM +0100, Yven Leist wrote:
> On Saturday 04 January 2003 02:33, Marcin Juszkiewicz wrote:
> > It was 2003-01-03 22:55 when Yven Leist wrote:
> > > > from package - only 24 colors for icon is too small.
> > >
> > > Does anyone know the reason for this limitation? I've looked at the menu
> > > info page, but couldn't find anything explanatory there.
> >
> > I think that it is 8bit color systems - if you have 256 colors then you can
> > count each one (when I used AmigaOS I had 4bit grey desktop - every color
> > was needed).

> Ok, but wouldn't the icon look just the same on an 8-bit system regardless of 
> wether I do the scaling beforehand with the suggested "mogrify -format xpm 
> -geometry 32x32 -map cmap.xpm" command or whether the Xserver converts the 
> icon to 8-bit?

The X server will convert the icon to 8-bit: it won't convert it to
24 colors, or even know which 24 colors to convert to.  This means that
leaving it to the X server to do the conversion wil rapidly exhaust the
color map for no good reason.

-- 
Steve Langasek
postmodern programmer

Attachment: pgpEm4t4n6Pdu.pgp
Description: PGP signature


Reply to: