How to get CR2 (Canon raw) support for XLoadImage?

view full story

http://unix.stackexchange.com – I've been looking for a light-weight image viewer to replace gThumb now that I'm not running Gnome anymore, and found XLoadImage. How can I add support for Canon's raw CR2 format? 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_000 (HowTos)