Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Paste Image Bug? or is it me...

Author
Message
Argon Knight
17
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Gastonia, NC, USA
Posted: 18th Sep 2002 07:44
Is this a bug, or something else:

I'm using some of the 2d features in DBPro. When I use a LINE command on top of a pasted image, the ink color turns out wrong. I can pick and bmp, jpg, or png on my computer, or make one up, and still it doesn't work. A PRINT command works fine. So does a CIRCLE command.

here's a snippet that should draw a yellow line diagonally across the screen. If you rem out the PASTE statement, it work fine. Put it back in, and the LINE command will draw be a different color:

rem snippet
load image "bomb.bmp", 1
paste image 1,0,0,1
ink rgb(255,255,0),0
print "l": rem shows up as yellow
line 0,0,800,600: rem shows up as a wacky color.
circle 300,400, 50: rem shows up yellow
wait key
Richard Davey
Retired Moderator
17
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 18th Sep 2002 13:05
What bit depth are you running at?

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Argon Knight
17
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Gastonia, NC, USA
Posted: 18th Sep 2002 22:17
I've tried it on a
MSI geForce4 MX440 64mb
and
MSI geForce4 MX460 64mb

both with 16 and 32 bpp.

Login to post a reply

Server time is: 2019-11-18 06:10:32
Your offset time is: 2019-11-18 06:10:32