如何将tiff转换为jp2 [英] How to convert tiff to jp2

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

问题描述

你好,



如何在不使用图像魔法的情况下在linux环境中将tiff图像转换为jp2。



提前致谢



我尝试过:



可以我们使用libjpeg或libtiff来实现这个目的吗?

Hello,

How to convert tiff image to jp2 in linux environment without using image magick.

Thanks in advance

What I have tried:

Can we use libjpeg or libtiff for achieving this?

推荐答案

你可以使用 OpenJPEG [ ^ ]。它包含 opj_compress 命令行工具,用于读取包括TIFF在内的不同图像文件类型,并将它们转换为JPEG 2000文件。如果您不想使用命令行工具,请参阅该工具的来源以实现您的转换例程。



OpenJPEG 应该是适用于大多数Linux发行版(分为库,开发包和实用程序)。
You may use OpenJPEG[^]. It contains the opj_compress command line tool to read different image file types including TIFF and convert them to JPEG 2000 files. If you don't want to use the command line tool see the sources of the tool to implement your conversion routine.

OpenJPEG should be available with most Linux distributions (splitted into library, development packages and utilities).


这篇关于如何将tiff转换为jp2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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