Maniphest T71898

Grayscale BMP output files are 24-bit, not 8-bit
Closed, ResolvedTO DO

Assigned To
Campbell Barton (campbellbarton)
Authored By
Stephen Hart (sjhart)
Nov 25 2019, 6:58 PM
Tags
  • BF Blender
  • Render Pipeline
  • Import/Export
Subscribers
Campbell Barton (campbellbarton)
James Fulop (Yam)
Stephen Hart (sjhart)

Description

System Information
Operating system: Windows 10 Pro version 1909 build 18363.476
Graphics card: NVIDIA GeForce 940MX

Blender Version
Broken: 2.81

Short description of error
Properties > Output Properties > Output > File Format is set to BMP and Color is set to BW. Output files are BW, but file-size confirms they are actually 24-bit BMPs with identical content in each color channel. Not a huge problem, because I think almost any software that can read BMPs can read the 24-bit version. But it does triple the file size. And Blender can input 8-bit BMPs, so this is just an output issue.

Exact steps for others to reproduce the error
Minimal example blend file attached.

Related Objects

Event Timeline

Stephen Hart (sjhart) created this task.Nov 25 2019, 6:58 PM
Maciej Jutrzenka (Kramon) added projects: Render Pipeline, Import/Export.Nov 25 2019, 8:43 PM
Campbell Barton (campbellbarton) renamed this task from BW BMP output files are 24-bit, not 8-bit to Grayscale BMP output files are 24-bit, not 8-bit.Nov 26 2019, 1:36 PM
Campbell Barton (campbellbarton) mentioned this in T63728: Data, Assets & I/O Module.
Campbell Barton (campbellbarton) edited a custom field.
Campbell Barton (campbellbarton) added a subscriber: Campbell Barton (campbellbarton).

While we would accept patches to support this, it's not a bug, marking as TODO.

Campbell Barton (campbellbarton) lowered the priority of this task from 90 to Low.Nov 26 2019, 1:37 PM
James Fulop (Yam) added a subscriber: James Fulop (Yam).Dec 22 2019, 9:55 PM
Campbell Barton (campbellbarton) closed this task as Resolved.Jan 29 2020, 2:59 AM
Campbell Barton (campbellbarton) claimed this task.

Committed to master rBd8435596d5af: imbuf: support writing grayscale BMP images, closing.