Add a way to specify the bit depth of the output file when exporting to TIFF
Description of the feature
Add a way to specify the bit depth of the output file when exporting to TIFF.
Currently, the bitness of the TIFF output seems to be hardwired to the image precision:
- 8-bit integer: 8-bit TIFF
- 16-bit integer and 16-bit FP: 16-bit TIFF
- 32-bit FP: 32-bit TIFF
It would be useful to be able to specify the output bitness and have an implicit conversion, instead of having to explicitly convert the image before exporting.
Use cases
A typical case is working in 32-bit FP and needing to export 8- or 16-bit TIF. With the current version one has to convert the image to a lower precision before export. This is dangerous since the image could be later be mistakenly saved in that lower precision (it is also possible that saving the whole image could be too much for the undo stack).
Edited by Alexandre Prokoudine