[Digikam-devel] Imaging Library

Laurent Rathle lrathle at kde-france.org
Thu Jun 23 14:33:57 BST 2005


Le Dimanche 19 Juin 2005 23:15, Renchi Raju a écrit :
> * Running viewer:
>
> to run a app which loads and displays one 16bit tiff, one 8bit jpeg
> and one 8bit transparent png (if someone wants to verify that the tiff
> image is indeed 16bit, try loading it up in gimp and see the warning
> message)
>
> # cd app
> # ./canvas

I don't know if it can help you, but I've tried canvas on my Nikon D70 NEF 
files and on the tif resulting from conversion and I get this :

$ file app/Img0397.NEF
app/Img0397.NEF: TIFF image data, big-endian

./canvas
QSettings: failed to open file '/etc/qt_plugins_3.3rc'
TIFFReadDirectory: Warning, Img0397.NEF: unknown field with tag 34665 (0x8769) 
encountered.
TIFFReadDirectory: Warning, Img0397.NEF: unknown field with tag 36867 (0x9003) 
encountered.
TIFFReadDirectory: Warning, Img0397.NEF: unknown field with tag 37398 (0x9216) 
encountered.
TIFF Directory at offset 0x8
  Subfile Type: reduced-resolution image (1 = 0x1)
  Image Width: 160 Image Length: 120
  Resolution: 300, 300 pixels/inch
  Bits/Sample: 8
  Compression Scheme: None
  Photometric Interpretation: RGB color
  Date & Time: "2005:06:19 19:06:22"
  Make: "NIKON CORPORATION"
  Model: "NIKON D70"
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 3
  Rows/Strip: 17
  Planar Configuration: single image plane
  Reference Black/White:
     0:     0   255
     1:     0   255
     2:     0   255
  SubIFD Offsets: 92014 856524
  Software: Ver.2.00
  Tag 34665: 468
  Tag 36867: 2005:06:19 19:06:22
  Tag 37398: 1,0,0,0
can't handle images with samples per pixel != 3 or 4:
WARNING: [bool Digikam::ImlibInterface::load(const QString&)] Failed to load 
image

$ file Img0397.tif
Img0397.tif: TIFF image data, little-endian

$ ./canvas
QSettings: failed to open file '/etc/qt_plugins_3.3rc'
TIFF Directory at offset 0x117ce60
  Subfile Type: (0 = 0x0)
  Image Width: 3038 Image Length: 2012
  Resolution: 72, 72 pixels/inch
  Bits/Sample: 8
  Compression Scheme: None
  Photometric Interpretation: RGB color
  Document Name: 
"/home/lolo/Logiciels/Temp/canvas_dimage_16bit/app/Img0397.tif"
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 3
  Rows/Strip: 64
  Planar Configuration: single image plane
can't handle images with samples per pixel != 3 or 4:
WARNING: [bool Digikam::ImlibInterface::load(const QString&)] Failed to load 
image

Have a nice day,



More information about the Digikam-devel mailing list