How to load/store large PCX/BMP files?? 
Author Message
 How to load/store large PCX/BMP files??

        Since you can't do create a unsigned char huge *buffer in Pascal,
how do you load and store large PCX/BMP files (256 X 256 X 256 colors,
or bigger) in Turbo Pascal, or are you just stuck with 320 X 200 bitmaps?



Wed, 18 Jun 1902 08:00:00 GMT  
 How to load/store large PCX/BMP files??

Use streams DONNY, use streams..or XMS/EMS, but use streams...

Anco.



Wed, 18 Jun 1902 08:00:00 GMT  
 How to load/store large PCX/BMP files??


Wed, 18 Jun 1902 08:00:00 GMT  
 How to load/store large PCX/BMP files??


Quote:

>Use streams DONNY, use streams..or XMS/EMS, but use streams...

Use a linked-list of <64k buffers if you want it really fast. Use each
<64k buffer to store an integral number of scanlines. Don't store a scanline
accross buffers. Padding out each scanline to a multiple of 4 bytes should also
help with speed (depending on how your blitter routine is doing things).

-- Jay

 --------------------------------------------------------------------------
| Jason Burgon - author of Graphic Vision, TV-Like GUI for 256 Colour SVGA |

| ***NEW VERSION OF GV AVAILABLE FROM*** -> http://www.jayman.demon.co.uk  |
 --------------------------------------------------------------------------



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Load .BMP or .PCX or .GIF files fast.

2. Load .BMP or .PCX or .GIF files fast.

3. PCX / BMP - Files with BP7

4. 640x480x256color unit loads pcx files.

5. tpu unit loads 640x480x256color pcx files

6. unit loads 640x480x256 pcx files.

7. HELP: Loading and Viewing Win3+ BMP files.

8. Loading / Sorting large data files.

9. How to store and load binary file to a database TBlobField

10. a tpu file that loads ANY popular graphic format/ [gif, jpg, tif, tga, bmp, pcx, png, etc]

11. Using pictures in PCX format instead of default (BMP,WMF) in databases

12. pcx,bmp,tiff,giff

 

 
Powered by phpBB® Forum Software