Javascript TIFF Image Conversion

gblock picture gblock · Jul 31, 2013 · Viewed 17.4k times · Source

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.

Answer

seikichi picture seikichi · Oct 25, 2013

I ported LibTIFF to Javascript with Emscripten ( https://github.com/seikichi/tiff.js , demo: http://seikichi.github.io/tiff.js/basic.html)