How do I display tiff files on a Silverlight application? I can display any image format except tiff, can anyone help me? Thanks.
For Windows:Highlight the file you want to open. Double-click. The TIFF file should open in Windows Photo Viewer.
How to open a TIFF file. You can open TIFF files with various image editors since the TIFF format is quite common. Some options include Microsoft Photos (Windows), CorelDRAW Graphics Suite (Windows and macOS), Adobe Photoshop (Windows and macOS), and Apple Preview (bundled with macOS).
Baseline TIFF image types are: bilevel, grayscale, palette-color, and RGB full-color images.
I was successful displaying TIFFs in Silverlight. It's easy to port the free LibTiff.NET library to Silverlight, just 3-4 minor tweaks required.
The library itself is quite legacy-like and raw to use and one still needs to have some knowledge about the inner workings of the TIFF format in order to be able to extract the image data the way one needs it.
But it's doable and the bits and pieces can then be chiseled into a WriteableBitmap
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With