BBS: Inland Empire Archive Date: 03-18-92 (15:11) Number: 105 From: SCOTT DRYSDALE Refer#: NONE To: SCOTT GREEN Recvd: NO Subj: Re: Graphics Screens Conf: (2) Quik_Bas
Hello, There is a file on all quickshare points called "READGIF.ARJ" and in it is the QB source to load a GIF. Autodesk animator comes with a convert programme called convert that will convert almost ANY format, TIFF, Ega GIF, MAC, PCX, amiga formats, to a 320x200x256 gif. Once you have the 320x200x256 gif you use READGIF.BAS to load it. Then instead of just endeing the programme or going on to another gif, you BSAVE it under: DEF SEG = &HA000 BSAVE "filename.BLD",0, 65535 Now at any time when you want to load the GIF instead of going through the slow process you use: BLOAD "filename.BLD You don't even need the GIF to do this. It's really quick, but it tends to take up alot of disk space. One problem is however the PALETTE. You have to save the information to a different file if the PALETTE is not the quick basic default, and then load the info, then PALETTE USING. However if your skilled enough you could put the PALETTE info right in the .BLD file, and take it out just before BLOADing, which saves having two files. The whole idea of this rather then loading the GIF slowly, load the .BLD quickly, and that it does in comparison. Some drawbacks are your GIF can't be bigger then 32k, which is a medium sized GIF like "MOUSE.GIF", still I've used it in one of my VGA programmes, and you wouldn't notice. If you haven't tryed this before I'd suggest doing so as it may open some doors for ya' like it did for me. --- Maximus 2.00 * Origin: Tron 2: TROFF - this time it's personal! (1:249/105)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET