|
-
Apr 6th, 2001, 11:45 PM
#1
Thread Starter
Lively Member
Help! How do I get this thingy to work properly? I ask it for a pixel and grab the return in a long, but it returns all these fruity values like -1 and -531 and things like 20 (which is absolutely not one of the pixels in my pic), and so on. How do I get it to work in 16-bit and 32-bit color modes? PLEASE HELP AHH!
-
Apr 7th, 2001, 04:47 AM
#2
Fanatic Member
How about posting some code, it would help a lot...
Teaudirenopossum.Musasapientumfixaestinaure.
(I can't hear you. There's a banana in my ear)
-
Apr 8th, 2001, 08:12 AM
#3
transcendental analytic
depends, what mode are you using, negative values might occur if you use 32 bit color mode. if you use palettes you get the palette index
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|