开发者

Handling 16 bpp tiff file in C++

开发者 https://www.devze.com 2023-01-03 15:00 出处:网络
I need to open 16 bpp grayscale tiff image in C++ program. Trying to do this with GDI+ Image class, I get OutOfMemoryException (GDI+ doesn\'t support 16 bpp format). Standard Windows tools, like Paint

I need to open 16 bpp grayscale tiff image in C++ program. Trying to do this with GDI+ Image class, I get OutOfMemoryException (GDI+ doesn't support 16 bpp format). Standard Windows tools, like Paint and Picture Viewer, cannot open such image, possibly they use GDI or GDI+. ImageJ program opens such image successfully. Is there some SDK which can open such images and give access to image raw d开发者_JAVA百科ata? If not, I need TIFF file specification, and implement this in my own code.


Use LibTIFF.

0

精彩评论

暂无评论...
验证码 换一张
取 消