Javascript的TIFF图像转换 [英] Javascript TIFF Image Conversion

查看:159
本文介绍了Javascript的TIFF图像转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种将Tiff图像转换成png的方式,以便现代浏览器可以呈现它。我已经看过 Tiffus ,但看起来不再像是在开发了。我也尝试在C#中编写转换程序,并通过 JSIL 发送,但这也不起作用。我也尝试使用 Tiff-js ,但示例项目无法正常工作。有谁知道如何做到这一点?我知道我可以在C#/服务器端做到这一点,但我们希望尝试做到客户端。

将LibTIFF转换为带有Emscripten的Javascript( https://github.com/seikichi/tiff.js ,演示: http://seikichi.github.io/tiff.js/basic.html


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.

解决方案

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

这篇关于Javascript的TIFF图像转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆