Re: Root background and Pager

Sasha_Vasko@osca.state.mo.us
Thu, 13 Aug 1998 11:46:43 -0500


Guylhem AZNAR wrote :


>On Tue, Aug 11, 1998 at 04:12:36PM -0500, Sasha_Vasko@osca.state.mo.us
wrote:
>> Not bad idea, but for some images it might not be good :
>> You can store most images in 8bit(to save space) without sucrificing
>> quality,
>> but if you try to scale them in 8bit you may get pretty unpretty, I mean
it
>> is always better
>> to scale in true color.
>
>So we can have ScaleRoot8bpp and ScaleRootTrueColor
That's not the problem.
What I really mean was, that one can store original TrueColor pix
somwhere in archive, and using only 8bpp version as the background
to save up space, which means that you don't have original to scale,
and you don't whant to scale 8bpp version to not to get some crap
as the result.
Therefore we need to provide some flexible choice, wheather to scale
it on the fly, or use alternative image.

That is also raising interesting question:
As far as XPM files are so huge, and so very good compressible,
do we want to enable use of GZ-ipped versions, like :   filename.xpm.gz?

Page reads xpm files only once on startup, or when you change background,
so it won't be to hard for CPU, and also LZ is very fast to decompress.

>> Again, if we are storing small images in new files, we need to come up
with
>> some cleanup
>> tools for those .small. files.
>
>No ! Only if main file were removed.
>Else  .small. files would ensure cpu time gain.

I mean, you don't want to end up with bunch of .small. files
somewhere on your drive after few month of AS using,
and nowbody knows how to remove unneeded.

At least we can come up with dir like
~/G/L/A/cache
and store all that stuff in there so people will know where to
look for work files.
>> It does not. There is some code to do that in contrib package that goes
>> with libXpm,
>> but it needs some work.
>
>Can you do that ? Or maybe someone here is a libXpm champion ?
>

I'll try as the next step. after patch2 is done.

Does enybody have libXPM reference in non-PS format?


Sasha.



--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html