如何获得 XLoadImage 的 CR2 (Canon raw) 支持?

如何获得 XLoadImage 的 CR2 (Canon raw) 支持?

由于我不再运行 Gnome,我一直在寻找一个轻量级图像查看器来替代 gThumb,并找到了 XLoadImage。如何添加对佳能原始 CR2 格式的支持?

anna@anna:~ $ xloadimage IMG_0001.CR2 
TIFFReadDirectory: Warning, Photometric tag is missing, assuming data is YCbCr.
TIFFReadDirectory: Warning, SamplesPerPixel tag is missing, applying correct SamplesPerPixel value of 3.
OJPEGSubsamplingCorrect: Warning, Subsampling tag is not set, yet subsampling inside JPEG data [2,1] does not match default values [2,2]; assuming subsampling inside JPEG data is correct.
IMG_0001.CR2 is a 5184x3456 24-bit single-plane YCBCR TIFF image
IMG_0001.CR2: YCBCR  is an unsupported TIFF photometric style, sorry.
IMG_0001.CR2: unknown or unsupported image type
anna@anna:~ $ 

到目前为止我唯一找到的是 GIMP 的插件,但 GIMP 绝对不是轻量级的。

答案1

有一个命令行工具绘图它将把原始文件处理为 jpeg。

还有几个用于处理 RAW 文件的库:

相关内容