nanogui: jpeg drawing


Previous by date: 31 Jan 2000 20:16:22 -0000 Truetype fonts, Martin Jolicoeur
Next by date: 31 Jan 2000 20:16:22 -0000 Re: jpeg drawing, Greg Haerr
Previous in thread: 31 Jan 2000 20:16:22 -0000 jpeg drawing, Kyle Harris
Next in thread: 31 Jan 2000 20:16:22 -0000 Re: jpeg drawing, Greg Haerr

Subject: Re: jpeg drawing
From: Martin Jolicoeur ####@####.####
Date: 31 Jan 2000 20:16:22 -0000
Message-Id: <3895A4F9.DA410B60@visuaide.com>

Kyle,

Don't know if that could help ...

Kyle Harris wrote:

> I've been playing some with the new jpeg functions and have a couple of
> questions.
>
> 1) Do I need to define a palette? I'm running 16 bpp fb and the color of
> the image is not even close. What am I missing?
>

I ported libjpeg to nano-X. You do not need to set a palette. Make sure the
SCREEN_PIXTYPE is set to the right value.

>
> 2) Drawing is very slooowww. I'm running on top of a vesa fb. It takes a
> couple of seconds to draw a 800x600 image. Should it be this slow???
>

Yeah, it's slow a bit. Blitting is not used ... maybe it should. Some
tweaking could be done in the libjpeg configuration parameters to speed up
things.
Clipping is used if the picture is larger than the window ... (might slow
things)

>
> I'm currently using Nano-X (with app and server linked together). I'm
> guessing that Microwindows may have better support for drawings. Is this
> true? I really prefer the Nano-X API and may have a need for
> client/server on down the road.
>

I don't know if Greg made a Microwindows api for jpeg support ...


>
> Thanks for any advice, Kyle.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####


Previous by date: 31 Jan 2000 20:16:22 -0000 Truetype fonts, Martin Jolicoeur
Next by date: 31 Jan 2000 20:16:22 -0000 Re: jpeg drawing, Greg Haerr
Previous in thread: 31 Jan 2000 20:16:22 -0000 jpeg drawing, Kyle Harris
Next in thread: 31 Jan 2000 20:16:22 -0000 Re: jpeg drawing, Greg Haerr


Powered by ezmlm-browse 0.20.