Converting a 16 bit tiff file to something viewable online?

不羁的心 提交于 2019-12-12 20:17:01

问题


I need to take a 16 bit .tiff file and make it viewable on my website. To even view .tiff files many browsers require plugins. I found a software that could convert them to .jpg files but I was wondering if there is a way to do this independently. I am making my website using Ruby on Rails. I must be able to do the conversion from the website because the whole point of the website is to upload large folders of .tiff files and display them in an online slideshow.

Any help would be appreciated.

Thanks!


回答1:


Doug is right, imagemagick is probably your best bet. Once installed, you can use the command-line interface: convert input.tiff output.jpg. If you happen to be using OS X, you could also use sips, e.g. sips -s format jpeg photo1.tiff --out photo1.jpg




回答2:


imagemagick



来源:https://stackoverflow.com/questions/2885038/converting-a-16-bit-tiff-file-to-something-viewable-online

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!