From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: JPEG's and Allegro:Help! Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <914fjs41gk0dc5jouu4io6pf0h8d4okth5 AT 4ax DOT com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 33 X-Trace: /bV2/6N1pBD3mFjVshUUUf1I1bGrkFRWqfjh4poDQRZaM6CVXaT9aTtNbVZrMNEjGxko5aaMyyXG!aBLRueLvjghVH0abvzSl1hdFwm4CiC6eJmSe0d/c6gNsvYVZ9eGM2eniXwZSkz77uwzY1pZS4Uk5!Wt0= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sat, 03 Jun 2000 00:45:58 GMT Distribution: world Date: Sat, 03 Jun 2000 00:45:58 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Fri, 02 Jun 2000 06:49:22 -0400, Radical NetSurfer 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/