VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Oh no! Getpixel isn't resolution independent! Almar Joling (3 replies, 0 views) (2000-Sep-28) I've been working on a nice program to make my own graphics format.
Now, everything was going fine, until I put my screen resolution up to 32bit because of something I downloaded at Planet Source Code.
After making some changes, I ran the program. The file was 130kb bigger!
I checked if the code changes I made where the problem, but that is not the problem -I put them in a different section, and they weren't used yet. After checking the colorcount (which was instead of 635, somewhere around the 6000)
Now I knew the problem: 32bit and getpixel won't work.
Please! Is there anyone that knows how I can solve this? The Getpixel returned color is converted to rgb colors, like the code that had been published here a week ago (with the bitshifting thread)
Any help is appreciated!
Almar Joling
ajoling@theheadoffice.com
|