Skip to Content.
Sympa Menu

baslinux - Re: [BL] Xvesa Xli Images

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Lee Forrest <lforrestster AT gmail.com>
  • To: BasicLinux List <baslinux AT lists.ibiblio.org>
  • Subject: Re: [BL] Xvesa Xli Images
  • Date: Sun, 7 Jan 2007 13:55:57 +0000

On Mon, Jan 08, 2007 at 09:02:49AM +1300, 3aoo-cvfd AT dea.spamcon.org wrote:
> Lee Forrest wrote:
> >
> > VBE version 3.0 (Intel(R) 8xx Chipset Video BIOS)
> > Total memory: 512 kilobytes
>
> There is your problem. Can you up that in your BIOS config?
>
> > 0x010E: 320x200x16 TrueColor [5:6:5:0] (no linear framebuffer)
> > 0x0127: 640x400x16 TrueColor [5:6:5:0] (no linear framebuffer)
>
> There are your decent color modes.
> I suggest you put 640x400x16 in /etc/Xconfig

I sent a reply to this, and got a DELAY bounce from google.
Assuming it will make it, I'll add here that this conversion
resulted in an image that is almost 'real'. Quite good. Almost
there:

jpegtopnm monica13.jpg | ppmdither -red 4 -green 4 -blue 4 | \
ppmtobmp >/tmp/2.bmp

jpegtopnm: WRITING PPM FILE
ppmtobmp: analyzing colors...
ppmtobmp: 30 colors found
ppmtobmp: Writing 8 bits per pixel with a color palette

------
The only difference between that and David's original script is
the 4 instead of 2 values for the colors. 3 and 5 didn't work.
------
This is with the original 2:

jpegtopnm: WRITING PPM FILE
ppmtobmp: analyzing colors...
ppmtobmp: 8 colors found
ppmtobmp: Writing 4 bits per pixel with a color palette

-----
That 8 bits per pixel with 4 is the main difference, I think.
------

/tmp<#>xli 2.bmp
2.bmp is a 400x533 8 bit deep, Windows BMP image
Default gamma for IRGB image is 2.20
Compressing colormap...30 unique colors
Building XImage...done

Lee

--
BasicLinux: Small is Beautiful
http://www.basiclinux.com.ru





Archive powered by MHonArc 2.6.24.

Top of Page