Search found 8 matches

by merallas
Tue Nov 06, 2007 7:05 am
Forum: Freebasic Questions & Answers
Topic: Can I make an image in Paint, then have a FB program load it
Replies: 53
Views: 137069

I find it highly incomprehensible that people from qbasic.com (y'know, all those experts and such) would not only not know one of the simplest and easiest-to-implement image formats available, but also not know that such a piece of code already exists on qbasic.com : http://www.qbasic.com/classic/f...
by merallas
Thu Nov 01, 2007 3:10 am
Forum: QBASIC and QB64 Questions & Answers
Topic: return from dos screen to window screen
Replies: 12
Views: 21010

burger2227 wrote:You can go to a window mode if you change to SCREEN 0:


Ted
Indeed in this case the frames can be switched to windows or dos mode by alt-enter. Problem is, however, that the graph disappears.
by merallas
Wed Oct 31, 2007 8:35 am
Forum: QBASIC and QB64 Questions & Answers
Topic: return from dos screen to window screen
Replies: 12
Views: 21010

MystikShadows

Thanks four your quick reply. The key's you mention work well if program is in edit mode, but when in graphic mode the screen dissapears and qbasic looks to be terminated. In my remembering it was also possible to make a graph in the small window screen. But perhaps I am wrong.
by merallas
Wed Oct 31, 2007 5:07 am
Forum: QBASIC and QB64 Questions & Answers
Topic: return from dos screen to window screen
Replies: 12
Views: 21010

return from dos screen to window screen

When I run a basic program in windows with graphics the program presents the graphical output in a full size DOS screen. This screen remains when the program returns to the program edit mode. Initially also graphics was presented in a small window, but in the past I have activated the large mode by ...
by merallas
Mon Oct 02, 2006 4:52 am
Forum: QBASIC and QB64 Questions & Answers
Topic: convert graphic screen to e.g. JPG file
Replies: 8
Views: 12921

Sorry about the late response, it's been a busy week. Anyways, here ya go: http://www.nodtveidt.net/sbs2gif.zip It includes the sbs2gif converter with its documentation, plus some sourcecode to save an SBS file. Note that it only works in SCREEN 13 so if you're using a different screenmode, this wo...
by merallas
Mon Sep 25, 2006 2:30 am
Forum: QBASIC and QB64 Questions & Answers
Topic: convert graphic screen to e.g. JPG file
Replies: 8
Views: 12921

I had a program at one point in time that could convert an SBS file (Super BSave) to a GIF image. Unfortunately, I lost the sourcecode long ago and I can't find the program at the moment but I'll see if I can dig it up. All you have to do is add a small portion of code to your program to capture an...
by merallas
Fri Sep 22, 2006 10:01 am
Forum: QBASIC and QB64 Questions & Answers
Topic: convert graphic screen to e.g. JPG file
Replies: 8
Views: 12921

It would be alot easier to save a bitmap. There are tons of those floating around for QB. Unless, you need to save it for the web? Thanks for your reply. I think that bitmap is good enough for this application. Can you supply a site with examples. I found several information about reading files, bu...
by merallas
Thu Sep 21, 2006 2:54 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: convert graphic screen to e.g. JPG file
Replies: 8
Views: 12921

convert graphic screen to e.g. JPG file

I have written a couple of programs in qbasic that can solve and generate new sudokus. At the moment the output is a 9x9 digit .txt file (without grid), where zero's represent empty places. However, it would be nice if a complete sudoku could be generated which can be inserted in a word file. To gen...