>> [48]matica:raw$ gm identify imgp0437.tif gm identify: imgp0437.tif: >> TIFF directory is missing required "ImageLength" >> field. (MissingRequired).
Udi> I just tried it with graphicsmagick 1.3.5 and I don't get this Udi> error message. You can also use exiftool or exiv2 to see that the Udi> ImageLength tag is in the tiff file. It is not there for me: [34]matica:raw$ exiftool imgp0522.tif ExifTool Version Number : 7.89 File Name : imgp0522.tif Directory : . File Size : 6.1 MB File Modification Date/Time : 2010:04:19 21:59:21-07:00 File Type : TIFF MIME Type : image/tiff Exif Byte Order : Little-endian (Intel, II) Processing Software : UFRaw 0.16 Image Width : 3040 Image Height : 2024 Bits Per Sample : 8 8 8 Compression : Deflate Photometric Interpretation : RGB Make : PENTAX Corporation Camera Model Name : PENTAX K100D Strip Offsets : (Binary data 15871 bytes, use -b option to extract) Orientation : Horizontal (normal) Samples Per Pixel : 3 Rows Per Strip : 1 Strip Byte Counts : (Binary data 10119 bytes, use -b option to extract) Planar Configuration : Chunky Software : K100D Ver 1.00 Modify Date : 2010:04:17 16:01:55 Predictor : Horizontal differencing Exposure Time : 1/60 F Number : 5.6 Exposure Program : Program AE Date/Time Original : 2010:04:17 16:01:55 Create Date : 2010:04:17 16:01:55 Flash : Off, Did not fire Focal Length : 55.0 mm Pentax Model Type : 0 Pentax Model ID : K100D Date : 2010:04:17 Time : 16:01:55 Quality : RAW Pentax Image Size : 3008x2008 or 3040x2024 Flash Mode : Off, Did not fire Focus Mode : AF-S AF Point Selected : Auto ISO : 800 Exposure Compensation : 0 Metering Mode : Multi-segment Auto Bracketing : 0 White Balance : Manual White Balance Mode : User-Selected World Time Location : Hometown Hometown City : San Fransisco Destination City : San Fransisco Hometown DST : Yes Destination DST : No DSP Firmware Version : 1.00.00.07 CPU Firmware Version : 1.00.00.07 Effective LV : 7.9 Picture Mode : Program; 1/2 EV steps Drive Mode : Single-frame; No Timer; Shutter Button; Single Exposure Image Area Offset : 16 8 Raw Image Size : 3008x2008 Preview Image Borders : 26 26 0 0 Lens Type : smc PENTAX-DA 18-55mm F3.5-5.6 AL WR Camera Temperature : 25 C AE Lock : Off Noise Reduction : Off Flash Exposure Comp : -2.0 Image Tone : Natural SR Result : Not stabilized Shake Reduction : Off SR Half Press Time : 2.33 s SR Focal Length : 53 mm Shutter Count : 928 Black Point : 127 128 127 127 White Point : 13280 8192 8192 8192 Picture Mode 2 : Scene Mode Program Line : Normal EV Steps : 1/2 EV steps E-Dial In Program : P Shift Aperture Ring Use : Prohibited Flash Options : Normal Metering Mode 2 : Multi-segment AF Point Mode : Auto Focus Mode 2 : AF-S AF Point Selected 2 : Auto ISO Floor : 200 Drive Mode 2 : Single-frame Exposure Bracket Step Size : 1.0 Bracket Shot Number : n/a White Balance Set : Manual Multiple Exposure Set : Off AE Exposure Time : 1/55 AE Aperture : 5.7 AE ISO : 800 AE Xv : 0 AEB Xv : 0 AE Min Exposure Time : 1/3862 AE Program Mode : Sv or Green Mode AE Max Aperture : 5.7 AE Max Aperture 2 : 5.7 AE Min Aperture : 38 AE Metering Mode : Multi-segment Auto Aperture : On Min Aperture : 32 Lens F Stops : 6 Nominal Max Aperture : 5.7 Nominal Min Aperture : 38 Max Aperture : 5.7 Flash Status : Off Internal Flash Mode : Off, Normal External Flash Mode : Off Internal Flash Strength : 49 TTL DA A Up : 0 TTL DA A Down : 64 TTL DA B Up : 0 TTL DA B Down : 64 External Flash Guide Number : n/a External Flash Exposure Comp : n/a External Flash Bounce : n/a AE Metering Segments : 6.6 7.0 6.6 6.4 6.6 6.5 7.2 7.2 7.2 7.0 8.2 8.1 8.2 7.9 7.0 8.4 Flash Metering Segments : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Slave Flash Metering Segments : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 WB RGGB Levels Daylight : 12500 8192 8192 9705 WB RGGB Levels Shade : 15069 8192 8192 7399 WB RGGB Levels Cloudy : 13532 8192 8192 8696 WB RGGB Levels Tungsten : 7100 8192 8192 20180 WB RGGB Levels Fluorescent D : 14665 8192 8192 9850 WB RGGB Levels Fluorescent N : 12116 8192 8192 11003 WB RGGB Levels Fluorescent W : 10781 8192 8192 13381 WB RGGB Levels Flash : 13006 8192 8192 9105 Manufacture Date : 2007:07:15 Production Code : 2.1 Internal Serial Number : 6404038 Power Source : Body Battery Battery States : 4 0 Battery AD Body No Load : 195 Battery AD Body Load : 167 Battery AD Grip No Load : 0 Battery AD Grip Load : 0 AF Predictor : 29 AF Defocus : 21 AF Integration Time : 46 ms AF Points In Focus : Center (horizontal) Tone Curves : (Binary data 8200 bytes, use -b option to extract) Color Space : sRGB Sensing Method : One-chip color area File Source : Digital Camera Scene Type : Directly photographed CFA Pattern : [Red,Green][Green,Blue] Custom Rendered : Normal Exposure Mode : Auto Focal Length In 35mm Format : 82 mm Scene Capture Type : Standard Contrast : Normal Saturation : Normal Sharpness : Normal Subject Distance Range : Distant X Resolution : 72 Y Resolution : 72 Resolution Unit : inches Thumbnail Offset : 29468 Thumbnail Length : 6397 Aperture : 5.6 Image Size : 3040x2024 Lens ID : smc PENTAX-DA 18-55mm F3.5-5.6 AL WR Scale Factor To 35 mm Equivalent: 1.5 Shutter Speed : 1/60 Thumbnail Image : (Binary data 6397 bytes, use -b option to extract) Circle Of Confusion : 0.020 mm Field Of View : 24.8 deg Focal Length : 55.0 mm (35 mm equivalent: 82.0 mm) Hyperfocal Distance : 26.80 m Light Value : 7.9 [35]matica:raw$ gm identify imgp0522.tif gm identify: imgp0522.tif: TIFF directory is missing required "ImageLength" field. (MissingRequired). Maybe a problem with the underlying tiff library? Ian> BTW, when I use the ufraw gimp plugin and then save the file as Ian> .tif from gimp, I get none of these warnings. Udi> That is because Gimp does not save the EXIF data from the original Udi> raw file. In the stand-alone version of UFRaw you also have an Udi> option not save the EXIF data, if that is what you want. Hmm OK, I would like to believe this explanation, but the output of exiftool on such a file is nonempty: [36]matica:raw$ exiftool imgp0522-gimp.tif ExifTool Version Number : 7.89 File Name : imgp0522-gimp.tif Directory : . File Size : 18 MB File Modification Date/Time : 2010:04:19 22:10:13-07:00 File Type : TIFF MIME Type : image/tiff Exif Byte Order : Little-endian (Intel, II) Subfile Type : Full-resolution Image Image Width : 3040 Image Height : 2024 Bits Per Sample : 8 8 8 Compression : Uncompressed Photometric Interpretation : RGB Document Name : /home/itz/MyPictures/raw/imgp0522-gimp.tif Strip Offsets : (Binary data 262 bytes, use -b option to extract) Orientation : Horizontal (normal) Samples Per Pixel : 3 Rows Per Strip : 64 Strip Byte Counts : (Binary data 223 bytes, use -b option to extract) X Resolution : 72 Y Resolution : 72 Planar Configuration : Chunky Resolution Unit : inches Image Size : 3040x2024 Note that it does have ImageLength either, but nonetheless: [37]matica:raw$ gm identify imgp0522-gimp.tif imgp0522-gimp.tif TIFF 3040x2024+0+0 DirectClass 8-bit 17.6M 0.000u 0:01 [38]matica:raw$ -- Ian Zimmerman <i...@buug.org> jabber: nobrow...@limun.org gpg public key: 1024D/C6FF61AD fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD Ham is for reading, not for eating. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org