By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,652 Members | 1,842 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,652 IT Pros & Developers. It's quick & easy.

What is the fastest way to read and write .bmp file in C?

P: 1
I want to read 8bit grey bmp image. What is the fastest way to read this file?

Thank You
Mar 26 '16 #1
Share this Question
Share on Google+
2 Replies

Expert 100+
P: 1,035

WARNING: but I will also read '16bit blue images'....

more info on how to use fread can be found here:
Mar 28 '16 #2

Expert Mod 5K+
P: 9,197
A .bmp file in the case of Windows has a whole library of functions you can use to work with .bmp files. You would not start from scratch and re-invent the wheel
Mar 28 '16 #3

Post your reply

Sign in to post your reply or Sign up for a free account.