Closed brandondube closed 4 years ago
Is there a way to use this to rotate 16-bit monochrome images (image.Gray16) without quantization / loss of bit depth? I know the outputs are all image.NRGBA, but maybe I do not understand stdlib image well enough.
image.Gray16
image.NRGBA
No, there is no way to do this using the imaging package. It always outputs a 8bit/channel rgba image.
Some alternatives that may be helpful
That's a shame, thanks anyway.
Is there a way to use this to rotate 16-bit monochrome images (
image.Gray16
) without quantization / loss of bit depth? I know the outputs are allimage.NRGBA
, but maybe I do not understand stdlib image well enough.