Mail Archives: djgpp/2000/06/03/05:15:56
On Fri, 02 Jun 2000 06:49:22 -0400, Radical NetSurfer
<radsmail AT juno DOT com> wrote:
>Can anyone tell me if they have had success in using
>I.J.G.'s Jpeg6B compiled for DJGPP, and Allegro
>Graphics to create a simple Jpeg viewer that works
>from the command line?
I think there's an addon at http://www.allegro.cc built around the
IJG codec.
>I have been using one of the excellant sample programs
>that Jpeb6B generates, DJPEG.exe to convert a
>Jpeg to a bmp/tga, and then use Allegro to display
>the bmp/tga....
>this works, but would it not be REALLY NICE to not
>have to consume the extra harddrive space for a file,
>and just use the available RAM space to expand the
>JPEG in a bitmap/video_area, and then just switch
>to that video page.......right?
Not necessarily. With your system, every time you have to redraw the
screen, you have to spend all the time re-decoding the JPEG file.
That takes time, probably less than swapping out parts of a bitmap to
disk.
--
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html
This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses. http://www.mcafee.com/
- Raw text -