![]() WPF has support for deep color, so I simply used WPF to create GDI+ bitmaps by writing conversion routines between GDI+ and WPF bitmaps. The first problem to tackle was the loading and saving of images. So if you, like me, are in need of deep color support for higher precision (or greater dynamic range), you are out of luck! Read on for a workaround that will allow loading and saving of images at higher pixel depths, as well as correct displaying them. That's right, the 48 bpp image format uses linear light encoding and this means that with 13 bits per pixel per color channel we actually gain nothing, zero, zilch with respect to the standard 24 bpp image format which uses a gamma of 2.2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |