Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8110701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T01:50:52+00:00 2026-06-06T01:50:52+00:00

What is the BMP format for Gray scale Images (especially for 16 bit per

  • 0

What is the BMP format for Gray scale Images (especially for 16 bit per pixel) ?
The wikipedia just talks about colour images for bmp.

Update:

Just for an update and information for future visitors, I am going for PGM as this is uncompressed and can support 16 bit gray-scale. Another option was to use PNG, but it compresses the data (which is not what I want) as discussed here .
Also note that the image may appear distorted, since most of the monitors support 256 colors and not 4096 for 16 bit. So the Image will be saturated.

It was though surprising to know that BMP is almost helpless in case of Gray-scale for 16 bit images.
Thanks for people who helped me understand the issue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T01:50:53+00:00Added an answer on June 6, 2026 at 1:50 am

    For grayscale images, I would use 8-bit BMP. 8 bit BMPs can encode colors with palette. However, if you don’t use one, you can simply interpret color values [0...255] as colors from black (0) to white (255).

    Edit: I wouldn’t use BMP for 16-bit grayscale images. Technically, you could use 16-bits per pixel BMP format for encoding 16-bit grayscale data (http://en.wikipedia.org/wiki/BMP_file_format#Pixel_format). However in practice this is a bad idea (read: hacky) since that depth is designed to encode alpha, red, green and blue samples of the pixels.

    A better format for storing 16-bit per pixel grayscale data is PNG.

    Also ask yourself, do you really, really need that extra-precision? For most applications, 8 bits per pixel is just fine (=if you don’t have any specific requirements on precision, this would be the case).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write an application that converts 48 bit-per-pixel PNG files to a
Anyone knows how to convert .jpg image to .bmp format in iphone using objective-C?
I have an array of bytes representing an image in Windows BMP format and
I have 2 bmp images. ImageA is a screenshot (example) ImageB is a subset
I recently wrote C programs for image processing of BMP images, I had to
I'm using standard BMP images for buttons that come with visual studio. When using
I ran a demo bmp file format helper program DDDemo.exe to help me visualize
I want to decode JPEG files and obtain uncompressed decoded output in BMP/RGB format.I
I want to read the RGB values for each pixel from a .bmp file,
I have a test page that displays two images. One called hello.bmp and another

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.