将 16 位 tiff 文件转换为可在线查看的文件? [英] Converting a 16 bit tiff file to something viewable online?

查看:35
本文介绍了将 16 位 tiff 文件转换为可在线查看的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要获取一个 16 位 .tiff 文件并使其在我的网站上可见.为了查看 .tiff 文件,许多浏览器都需要插件.我找到了一个可以将它们转换为 .jpg 文件的软件,但我想知道是否有办法独立执行此操作.我正在使用 Ruby on Rails 制作我的网站.我必须能够从网站进行转换,因为网站的重点是上传大型 .tiff 文件文件夹并在在线幻灯片中显示它们.

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.

任何帮助将不胜感激.

谢谢!

推荐答案

Doug 是对的,imagemagick 可能是您最好的选择.安装后,您可以使用命令行界面:convert input.tiff output.jpg.如果您碰巧使用的是 OS X,您还可以使用 sips,例如sips -s 格式 jpeg photo1.tiff --out photo1.jpg

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

这篇关于将 16 位 tiff 文件转换为可在线查看的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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