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.

Newcomers DBPro Corner / Bitmaps into arrays

Author
Message
lukeo25
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location:
Posted: 12th Aug 2003 05:18
Is it possible to but the contents of a bitmap into an array in order to compare it to another. I need to place the RGB values of one bitmap
in one array and another bitmaps values into its own array and do some math to figure where the major differences in each arry is.
and if so can someone point me in the right direction re "basic idea comands etc".
CloseToPerfect
21
Years of Service
User Offline
Joined: 20th Dec 2002
Location: United States
Posted: 12th Aug 2003 05:22
read it byte by byte from the files and put the data in to an array for each.
lukeo25
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location:
Posted: 12th Aug 2003 07:02
OK that is a fine way to do it
The array = 3 X height X Length and read in each pixle rgb
but I thought if the bitmaps colour information is already being used by the graphics card there would be some way to intercept the pixel values and dump them all into an array the same way you could a text or data file.

Login to post a reply

Server time is: 2024-09-20 19:42:29
Your offset time is: 2024-09-20 19:42:29