java如何读取分析处理tiff图像文件

java如何读取分析处理tiff图像文件,第1张

Asprise offers TIFF writer and reader library as valued add-on to our flagship products – Asprise OCR &JTwain. Tagged Image File Format (abbreviated TIFF) is a file format for mainly storing raster images. With Asprise Java TIFF library, you can easily create, manipulate (read and write), disassemble TIFF files easily.

Asprise offers TIFF writer and reader library as valued add-on to our flagship products – Asprise OCR &JTwain. Tagged Image File Format (abbreviated TIFF) is a file format for mainly storing raster images. With Asprise Java TIFF library, you can easily create, manipulate (read and write), disassemble TIFF files easily.

你可以去他们家的网站去download这个API,然后就可以比较简单的搞定这个TIFF的读入问题了。

typedef struct tagIMAGEFILEHEADER

{

WORD byteOrder// 字节顺序 0x4949 Intel字节顺序

WORD version// 版本 必须为0x2a

DWORD offsetToIFD// IFD相对于文件开头的偏移

}IFH// 文件头

typedef struct tagDIRECTORYENTRY

{

WORD tag// 属性标志

WORD type// 属性类型

DWORD length// 类型个数

DWORD valueOffset// 类型值相对于文件开头的偏移,如果值长度小于等于4个字节,则为实际数值

}DE// 目录入口

这两个结构体定义了tif文件的属性,其它的你应该知道怎么做


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/tougao/11592698.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-17
下一篇 2023-05-17

发表评论

登录后才能评论

评论列表(0条)

保存