does eny1 nos how 2 convert 16 bit to 8 bit if so plz tell me, i need a c program for it. thanx
badbloodyeyez 0 Light Poster
Recommended Answers
Jump to PostBe more specific.
Jump to PostUse a FILE to shave off the bits you don't need ;)
Jump to PostAre these 16-bit numbers signed or unsigned ?
For signed use x = x / 256;
For unsigned use x = x >> 8; (though x = x / 256 would do as well).
All 10 Replies
Narue 5,707 Bad Cop Team Colleague
Salem 5,265 Posting Sage
bugmenot 25 Posting Whiz in Training
badbloodyeyez 0 Light Poster
Salem 5,265 Posting Sage
badbloodyeyez 0 Light Poster
Salem 5,265 Posting Sage
badbloodyeyez 0 Light Poster
badbloodyeyez 0 Light Poster
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.