How grayscale is stored

Instead of three channels, a grayscale file keeps one value per pixel describing brightness. Eight bits gives 256 levels, spanning black, white, and every neutral step between.

Colored originals are converted by calculating luminance, weighting the channels to match how the eye perceives brightness. The result looks like a black and white photograph rather than a faded color one. Dropping color is a display choice, and the original file can be kept alongside the neutral version.

Where grayscale is used

Scanned documents, newspaper imagery, medical imaging, and black-and-white printing all rely on grayscale. Removing color focuses attention on shape, texture, and contrast.

Black and white photography remains a deliberate stylistic choice as well, since tone alone has to carry the composition. Web images in grayscale also give the compressor less variety to encode, which can help with detailed scenes.

  • Text documents and scanned pages
  • Black and white printing and photocopying
  • Technical images where color adds no meaning
  • Photography focused on tone and contrast

Grayscale and file size

With one channel instead of three, the raw data is a third of a color image's, and the compression stage has less variety to encode. Savings are real for detailed images.

Note the limit: Filekind converts between JPEG, PNG, and static WebP but does not perform a grayscale conversion itself. Desaturate the image in an editor first, then compress or convert the result here.