0

我有一个大文件 (6GB),它使用 libtiff 4.0.3 显示以下信息:

> tiffinfo MyPic
MyPic: Warning, Nonstandard tile length 1, convert file.
TIFFReadDirectory: Warning, Unknown field with tag 65100 (0xfe4c) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65102 (0xfe4e) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65103 (0xfe4f) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65109 (0xfe55) encountered.
TIFF Directory at offset 0x1816881c8 (6466077128)
  Subfile Type: (0 = 0x0)
  Image Width: 20064 Image Length: 306083
  Tile Width: 912 Tile Length: 1
  Resolution: 1, 1 (unitless)
  Bits/Sample: 16
  Sample Format: unsigned integer
  Compression Scheme: 65100 (0xfe4c)
  Photometric Interpretation: min-is-black
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Planar Configuration: single image plane
  Make: ##############
  DateTime: 2013:08:09 08:12:45
  CameraSerialNumber: ###############
  Tag 65100: 1094996812
  Tag 65102: 3
  Tag 65103: 4
  Tag 65109: 1441792

如您所见,我正在检查的文件包含特定标签(0xfe4c、0xfe4e、0xfe4f、0xfe55)和“不寻常”的压缩方案(0xfe4c)。

在查看了一些网站后,我发现 EXIF 元数据标签 0xfe4c、0xfe4e、0xfe4f、0xfe55 是 Adob​​e Photoshop 的 Camera Raw 插件标签 [来源]。

现在,假设 Compression Scheme 0xfe4c 与 Adob​​e 程序相关可能有点过头了,但是,以防万一,我将其标记为“Adobe”。

我无法提供图像(因为它本身由外部公司提供,重量为 6 GB),但可以在其上运行 libtiff 命令。问题是 libtiff 4.0.3 不支持压缩方案 0xfe4c:

> ./tiff2pdf -o /tmp/output.pdf MyPic
MyPic: Warning, Nonstandard tile length 1, convert file.
TIFFReadDirectory: Warning, Unknown field with tag 65100 (0xfe4c) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65102 (0xfe4e) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65103 (0xfe4f) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65109 (0xfe55) encountered.
MyPic: Warning, Nonstandard tile length 1, convert file.
TIFFReadDirectory: Warning, Unknown field with tag 65100 (0xfe4c) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65102 (0xfe4e) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65103 (0xfe4f) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65109 (0xfe55) encountered.
MyPic: Warning, Nonstandard tile length 1, convert file.
TIFFReadDirectory: Warning, Unknown field with tag 65100 (0xfe4c) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65102 (0xfe4e) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65103 (0xfe4f) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65109 (0xfe55) encountered.
MyPic: Warning, Nonstandard tile length 1, convert file.
TIFFReadDirectory: Warning, Unknown field with tag 65100 (0xfe4c) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65102 (0xfe4e) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65103 (0xfe4f) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 65109 (0xfe55) encountered.
tiff2pdf: No support for MyPic with compression type 65100:  not configured.
tiff2pdf: An error occurred creating output PDF file.

有没有人遇到过这种压缩方案?我不知道它是否是一种新的压缩算法(在这种情况下,我必须对代码进行逆向工程,或者向 Adob​​e 寻求支持),或者它是否是现有算法的新密钥(在在这种情况下,更新我的库将非常简单)。

谢谢,帕斯卡

4

0 回答 0