Main
   Home
   About
   DiscussionBoard
Files
   About
   Submit
   Search
Downloads
   Action
   QB64
Links
   Link to us
QB45.org
[ Back to QB45 | FAQ | Search a message | Reply to this message | Back to messages ]

Frengo6 on 03/23/09 - 12:16:22

Hi everyone,
Just a quick question:
I'm trying to use SVGA graphics with FL35 and QB71, 800x600 8 bit res.
When I print something on a blank screen (with Future.print command) everything ids good, but if I previously load a BMP file and print something over it, the colors shown are not the expected ones. Can someone help me? Thank you

Todd on 03/23/09 - 21:49:16

It sounds like a palette error when you load the BMP file. Most likely the BMP loader customizes the palette and changes the colors.

Frengo6 on 03/24/09 - 04:33:26

How can I avoid or correct this mistake?

Todd on 03/24/09 - 07:35:19

Make sure your BMP files are in 256-color resolution. Sometimes if it's in a higher resolution that can effect Future.Library.

Frengo6 on 03/24/09 - 08:51:53

I'm sure...
I tried with different bmp files, the only resolution that works is 2 colors...

Todd on 03/24/09 - 15:31:31

Did you try just making a simple QB program that uses the Future.LoadBMP method alone without anything else? Try 640x480 and see if that makes a difference.

Todd on 03/24/09 - 23:34:40

Also, did you try another computer? Sometimes it could just be the graphics card and how much it can handle.

Frengo6 on 04/10/09 - 04:26:49

I found the way to fix the problem.
It's enough to use Paint Shop Pro: you load the image, load the "standard" palette (0=black, 1=blue and so on) and save the image. In this way I am able to load any kind of images. Thanks for help, goodbye!

Todd on 04/10/09 - 14:55:19

Looks like the solution was in an image editor. Good luck!

Scott Houdek on 08/02/09 - 14:20:28

does anyone knows how to do convert like *.obj to *.lib manually because "flbuild.exe is very confusing and prone to errors with in the qb45 directory!
someone should have rewritten the flbuild source file for easier use.


Todd on 08/02/09 - 15:42:11

http://support.microsoft.com/kb/31156

It looks like you would use LIB and LINK for creating a LIB file manually:


LINK /Q FILE1.OBJ+FILE2.OBJ,,,OUTLIB.LIB;



Hope this helps.

Reply to this message
Name:
Message:
Please enter this number:
No HTML allowed. You may use BB-code in your posting.
Members
Login
Register
QB45 Members
Member List