SAVE pcx/gif/bmp file? 
Author Message
 SAVE pcx/gif/bmp file?

Programming a PCX, GIF, or BMP's are hard to write. You have to have info
on the encode/decode routines. Unless you know them already. TGA's are
easy to read if they are not compressed. It's just raw data after that
with a small header.

Must it be in a common format? If so, have fun. If not, then just dump
the memory block with a header. That's easy. In GFA, it'd go like this:

X&=0, Y&=0, W&=159, H&=99
(draw graphics or whatever)
GET X&, Y&, X&+W&, Y&+HH&, E$
R$=MKI$(W&)+MKI$(H&)
OPEN "O",#1,"TEST.RAW"
BPUT #1,V:R$,4
BPUT #1,V:E$,LEN(E$)
CLOSE #1

That's it! Oh so easy.

? Ramapage ?



Thu, 27 Aug 1998 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. TIFF, GIF, PCX, TGA, BMP, etc...

2. bmp/pcx/gif in qbasic?

3. print form to graphics format(pcx/bmp/gif)

4. *** ImgX 2 Released *** JPG, GIF, BMP, TGA, TIF, PCX, PNG, EMF and WMF

5. pcx files to bmp files in VB

6. Save to GIF file from resource GIF file

7. Saving form as gif,jpeg, or bmp

8. Save the image to TIFF,JPEG ,GIF,PNG,BMP solution

9. Save BMP as GIF or JPG?

10. How to save a bmp to gif

11. Saving BMP as GIF or JPG

12. How to convert a gif file to bmp file

 

 
Powered by phpBB® Forum Software