Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading a 16 bit bmp
#1
How can i load a 16 bit image i fb.. Bload won't work.
Thx
ttp://hem.passagen.se/qb.basta
Reply
#2
wellll... maybe you should show some code how you tried to do this.
Reply
#3
Here, this works. I'm punishing you by giving you the answer:

Code:
screen 20, 16
dim image as ubyte ptr
image = imagecreate(100, 100)
bload "image.bmp", image
put (0, 0), image, pset
will Live Forever, or Die Trying >_<;;
Reply
#4
that's not my issue..
Well anyway i sorted it out.
When saving the bmp in photoshop you have to save it as a 24 bit image, not a 16 bit.. That was the problem, not how you use the command bload
ttp://hem.passagen.se/qb.basta
Reply
#5
So it was how to load a 24-bit bmp then. :rotfl:
will Live Forever, or Die Trying >_<;;
Reply
#6
no. I'm i 16 bpp mode i fb.
For some reason bload won't load bmp's save in photoshop (i have only tried that one) as 16 bits images.
If you however save them as 24 bit's images and load them in fb (using 16 bpp) it will work..
Bug?
ttp://hem.passagen.se/qb.basta
Reply
#7
No. 16 bpp BMPs is just not a standard format.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)