Package: gimp-ufraw
Version: 0.20-1
Followup-For: Bug #730290

Hi,
I have stumbled over the same problem. I have tried to open tif file
scanned by Vuescan. Gimp always insist on running through ufraw plugin.
I cannot seem to find a way to open the file in gimp directly.

It is even more interesting that this doesn't happen to all tif files
generated by the same program.
One set of tif files which were stored in RGB 16b per channel worked
without any problems. Those which are stored in Grayscale 16b per
channel are those that are pushed through ufraw sometimes. But even this
is not 100% consistent because I can open some older files which are
Grayscale as well.

Example of BW tiffinfo which works as expected (aka no gimp-ufraw):
tiffinfo -c 'file1.tif'
TIFF Directory at offset 0x1f26366 (32662374)
  Image Width: 3104 Image Length: 4521
  Resolution: 3200, 3200 pixels/inch
  Bits/Sample: 16
  Compression Scheme: LZW
  Photometric Interpretation: min-is-black
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 5
  Min Sample Value: 0
  Max Sample Value: 65535
  Planar Configuration: single image plane
  Make: Epson
  Model: PerfectionV700
  PageName: Transparency
  Predictor: horizontal differencing 2 (0x2)

Now the another BW example which goes through gimp-ufraw
tiffinfo -c 'file2.tif'
TIFF Directory at offset 0x1a36a98 (27486872)
  Subfile Type: (0 = 0x0)
  Image Width: 4509 Image Length: 3048
  Resolution: 774, 774 pixels/inch
  Bits/Sample: 16
  Compression Scheme: None
  Photometric Interpretation: min-is-black
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 3
  Min Sample Value: 0
  Max Sample Value: 65535
  Planar Configuration: single image plane
  Make: Epson
  Model: PerfectionV700
  PageName: Transparency
  Software: VueScan 9 x64 (9.2.21)
  EXIFIFDOffset: 0x1a38bbd
TIFF Directory at offset 0x1a38bbd (27495357)
  DateTimeDigitized: 2014:11:16 14:40:06

And finally RGB one which also works properly:
tiffinfo -c file3.tif 
TIFF Directory at offset 0x51b83a0 (85689248)
  Subfile Type: (0 = 0x0)
  Image Width: 4655 Image Length: 3068
  Resolution: 799, 799 pixels/inch
  Bits/Sample: 16
  Compression Scheme: None
  Photometric Interpretation: RGB color
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 3
  Rows/Strip: 1
  Min Sample Value: 0
  Max Sample Value: 65535
  Planar Configuration: single image plane
  Make: Epson
  Model: PerfectionV700
  PageName: Transparency
  Software: VueScan 9 x64 (9.2.21)
  EXIFIFDOffset: 0x51bf14c
  ICC Profile: <present>, 3144 bytes
TIFF Directory at offset 0x51bf14c (85717324)
  DateTimeDigitized: 2014:11:16 11:57:56

Nothing really stands out... Btw. when I uninstall the plugin those
files are always opened correctly.

I guess the tif file contains something unexpected to the file
recognition logic in the plugin.

Is there anything more I can provide to help you debug this. It is
quite annoying because ufraw doesn't understand the tif file much and
generates awful results. I would rather not uninstall the plugin because
I am using it for my digital camera post processing.

Thanks in advance for your help.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.18.0-rc4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gimp-ufraw depends on:
ii  gimp                 2.8.14-1+b1
ii  libatk1.0-0          2.14.0-1
ii  libbz2-1.0           1.0.6-7+b1
ii  libc6                2.19-13
ii  libcairo2            1.14.0-2.1
ii  libexiv2-13          0.24-4
ii  libfontconfig1       2.11.0-6.1
ii  libfreetype6         2.5.2-2
ii  libgcc1              1:4.9.2-1
it  libgdk-pixbuf2.0-0   2.31.1-2+b1
ii  libgimp2.0           2.8.14-1+b1
ii  libglib2.0-0         2.42.1-1
ii  libgomp1             4.9.2-1
ii  libgtk2.0-0          2.24.25-1
ii  libgtkimageview0     1.6.4+dfsg-0.1
ii  libjpeg62-turbo      1:1.3.1-8
ii  liblcms2-2           2.6-3+b3
ii  liblensfun0          0.2.8-2
ii  libpango-1.0-0       1.36.8-2
ii  libpangocairo-1.0-0  1.36.8-2
ii  libpangoft2-1.0-0    1.36.8-2
ii  libpng12-0           1.2.50-2+b1
ii  libstdc++6           4.9.2-1
ii  libtiff5             4.0.3-10+b3
ii  zlib1g               1:1.2.8.dfsg-2

gimp-ufraw recommends no packages.

Versions of packages gimp-ufraw suggests:
ii  ufraw  0.20-1

-- no debconf information

-- 
Michal Hocko


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to