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 Discussion / Geting Pixles on a screen

Author
Message
Code Ninja
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 17th Mar 2004 17:26
Is there a faster way to get a pixle on a screen then convert that to a number code such as


DragnBreth
of
Dragael Software
Emperor Baal
21
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 17th Mar 2004 22:49
I dont think its possible, but I noticed that drawing operations are faster when done on a hidden bitmap. Maybe it works with getting pixels too.



but again, I dont know if it works (no dbc here at the moment)

Quote: "
UPDATED

Amd 2800+ 1024mb pc3200 A7N8X - Deluxe Ati Radeon 9800PRO 256mb
"
stann65
21
Years of Service
User Offline
Joined: 3rd Feb 2004
Location: england
Posted: 17th Mar 2004 22:51
if its just to get 1 pixle onto the screen why not create a dot.

go onto my site
Code Ninja
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 18th Mar 2004 16:58
stann65 - actually its to get a whole bunch of pixles from the screen then convert those colors to a color code then write it to a file. ex 01 = rgb(255,255,255), 02 = rgb(0,0,0), 12 = rgb(183,183,183) ect...

baal - thats actually what i was doing... i was just hoping there was a faster way because 32x32 image takes 3-4 minutes to convert. ah well... thanx, though, much apreciated.

DragnBreth
of
Dragael Software

Login to post a reply

Server time is: 2025-05-22 21:39:06
Your offset time is: 2025-05-22 21:39:06