Saving a 4-bit BMP in SCREEN 12 (thread314-747791 )
Saving a 4-bit BMP in SCREEN 12 (thread314-747791 )
(OP)
thread314-747791: Saving SCREEN 12 as ??
I cut and pasted the code from the above thread, and it worked perfectly. I tried making the area smaller by passing other values for the mins and maxes, and it produced corrupted BMPs. It's been a long time since I programmed in QBASIC, and it's coming back to me, but I can't figure out what is going wrong. I'm trying to make a bitmap from, for instance, (89, 41) to (530, 462). Thanks for listening.
I cut and pasted the code from the above thread, and it worked perfectly. I tried making the area smaller by passing other values for the mins and maxes, and it produced corrupted BMPs. It's been a long time since I programmed in QBASIC, and it's coming back to me, but I can't figure out what is going wrong. I'm trying to make a bitmap from, for instance, (89, 41) to (530, 462). Thanks for listening.
RE: Saving a 4-bit BMP in SCREEN 12 (thread314-747791 )
-Geates
http://raqxtr.sstar.com/caspdoc/html/chapter_5__de...
RE: Saving a 4-bit BMP in SCREEN 12 (thread314-747791 )
RE: Saving a 4-bit BMP in SCREEN 12 (thread314-747791 )
RE: Saving a 4-bit BMP in SCREEN 12 (thread314-747791 )
-Geates
http://raqxtr.sstar.com/caspdoc/html/chapter_5__de...
RE: Saving a 4-bit BMP in SCREEN 12 (thread314-747791 )
RE: Saving a 4-bit BMP in SCREEN 12 (thread314-747791 )
-Geates
http://raqxtr.sstar.com/caspdoc/html/chapter_5__de...
RE: Saving a 4-bit BMP in SCREEN 12 (thread314-747791 )
Windows Viewer (and Paint) show a corrupt file error. However, Paint Shop Pro opens the file but it looks nothing like what it should.
-Geates
http://raqxtr.sstar.com/caspdoc/html/chapter_5__de...
RE: Saving a 4-bit BMP in SCREEN 12 (thread314-747791 )
RE: Saving a 4-bit BMP in SCREEN 12 (thread314-747791 )
I modified this code to help me troubleshoot. Here is the modified code:
CODE
I have the .bmp open in Windows Photo Viewer and it updates the image as you modify it.
http://www.cilverphox.com/images/4bit.jpg
-Geates
http://raqxtr.sstar.com/caspdoc/html/chapter_5__de...