disintegration / imaging

Imaging is a simple image processing package for Go
MIT License
5.3k stars 443 forks source link

Rotate 16-bit monochrome image data #110

Closed brandondube closed 4 years ago

brandondube commented 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.

disintegration commented 4 years ago

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

brandondube commented 4 years ago

That's a shame, thanks anyway.