Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Gray32Float and Rgb128Float not supported in TiffBitmapEncoder

$
0
0

I would like to report a bug:

It appears Gray32Float and Rgb128Float formats seem not supported when saving (tested up to .net 4.0).

Using WriteableBitmap.WritePixels this format can next be saved using BitmapEncoder.Frames.Add(BitmapFrame.Create(WriteableBitmap));

BitmapEncoder and TiffBitmapEncoder seem to implicitely convert these float color formats to BGR32.

I can understand BitmapEncoder may not support this, but according to the original TIFF 6.0 specs, in Tiff should support these color formats.

I would like to be proved wrong, but have tested extensively. I'm happy to provide more details if needed, including code etc.

Thank you,

Joost

Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>