作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我将ETOPO1.tif处理到一个裁剪好的山坡阴影中。
我得到a tiff image看起来像:
当我通过ImageMagick处理它时,它成功运行。但是我收到以下警告消息集:
convert Yug-shadedrelief.tmp.tif -fuzz 7% -fill "#FFFFFF" -opaque "#DDDDDD" whited.jpg # lighter (0.9M)
convert.im6: Unknown field with tag 33550 (0x830e) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/768.
convert.im6: Unknown field with tag 33922 (0x8482) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/768.
convert.im6: Unknown field with tag 34735 (0x87af) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/768.
convert.im6: Unknown field with tag 34736 (0x87b0) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/768.
convert.im6: Unknown field with tag 34737 (0x87b1) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/768.
convert.im6: Unknown field with tag 42113 (0xa481) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/768.
最佳答案
与您原来的标题(我已更改)不同,这不是“错误”消息,而只是警告:
TIFFReadDirectory: Warning, Unknown field with tag 33550 (0x830e) encountered. [...]
TIFFReadDirectory: Warning, Unknown field with tag 33922 (0x8482) encountered. [...]
TIFFReadDirectory: Warning, Unknown field with tag 34735 (0x87af) encountered. [...]
[...]
tiffdump
(或
tiffutil -dump
)实用程序。
exiftool
有可能向您显示这些标签的含义:
exiftool -a -U -u -g1 Yug-Shadedrelief.tmp.tif
-u
和
-U
也应该提取所有未知(到
exiftool
)标签。如果您的输出中没有“垃圾”,那么
exiftool
可以根据所看到的内容来回显示标题,所以:-)
exiftool
也可以为您做...
2> /dev/null
重定向就足够了:
convert \
Yug-shadedrelief.tmp.tif \
-fuzz 7% \
-fill "#FFFFFF" \
-opaque "#DDDDDD" \
whited.jpg \
2>/dev/null
Code | Code | |
(dec) | (hex) | Tag Name | Short Description
------+-------+---------------------+--------------------------------------------------------
33550 | 830E | ModelPixelScaleTag | Used in interchangeable GeoTIFF files
33922 | 8482 | ModelTiepointTag | Originally part of Intergraph's GeoTIFF,
34735 | 87af | GeoKeyDirectoryTag | Used in interchangeable GeoTIFF files
34736 | 87b0 | GeoDoubleParamsTag | Used in interchangeable GeoTIFF files
34737 | 87b1 | GeoAsciiParamsTag | Used in interchangeable GeoTIFF files
42113 | a481 | GDAL_NODATA | Used by GDAL lib, contains ASCII encoded nodata or ...
关于ImageMagick:处理TIFF时如何摆脱有关 "Unknown field"的TIFFWarnings/768消息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27608124/
我是一名优秀的程序员,十分优秀!