I am looking for a way to convert a Tiff image into a png so modern browsers can render it. I have looked at Tiffus, but that doesn't look like it is being developed anymore. I have also tried writing a conversion program in C# and sending through JSIL, but that didn't work either. I have also tried using Tiff-js but the sample project isn't working. Does anyone know how to do this? I know I can do it in C#/server-side but we want to try to do it client side.
Asked
Active
Viewed 2.4k times
8
-
2As far as I know, TIFF is just some kind of image-container. There can be lots of compression formats and lots of different color codings inside. I think there are even multi-page TIFFs. Can you specify a concrete TIFF-format? – Christian Kuetbach Jul 31 '13 at 19:57
-
@ChristianKuetbach We are using 1 bit, CCITT Group 4 FAX – gblock Jul 31 '13 at 20:21
-
2@CameronTinker We can already do it server-side using System.Drawing.Bitmap. We want to see if there is a client-side way to do it. – gblock Jul 31 '13 at 20:50
2 Answers
16
I ported LibTIFF to Javascript with Emscripten ( https://github.com/seikichi/tiff.js , demo: http://seikichi.github.io/tiff.js/basic.html)

seikichi
- 1,251
- 13
- 15