Re: Writing 16 Bits Per Sample To Tiff File

2018-07-24 Thread Juergen Stumpe
SHORT_GRAY for 16 bits per sample. > > Damjan > > > > On Tue, Jun 5, 2018 at 11:15 AM Juergen Stumpe wrote: > > > Hello, > > > > I need to write grayscale pixels with 16 bits per sample into a Tiff file. > > > > In the provided Apache examples the Ima

Re: Writing 16 Bits Per Sample To Tiff File

2018-06-05 Thread Juergen Stumpe
Thanks Damjan, For the hint. I'll try it. Juergen On Tue, Jun 5, 2018 at 12:04 PM, Damjan Jovanovic wrote: > You can make a BufferedImage with TYPE_USHORT_GRAY for 16 bits per sample. > > Damjan > > > > On Tue, Jun 5, 2018 at 11:15 AM Juergen Stumpe wrote: > &g

Writing 16 Bits Per Sample To Tiff File

2018-06-05 Thread Juergen Stumpe
Hello, I need to write grayscale pixels with 16 bits per sample into a Tiff file. In the provided Apache examples the Imaging.writeImage() method is used to write image data into a file. But the image data source has always to be a BufferedImage, however BufferedImage handles only 8 bits per samp