[sane-devel] Putting a scan into a tiff file
Thu, 20 Feb 2003 11:56:36 +0100
On Thu, Feb 20, 2003 at 08:03:44AM +0100, Joachim Backes wrote:
> On 19-Feb-2003 Peter Kirchgessner wrote:
> > Hi Joachim,
> > thank you for the test file. You are saving the TIFF-files with a
> > JPEG-compression in xsane. At least xpaint is not capable of handling
> > JPEG-compressed TIFF-files correctly.
Huh? I just scanned an image with the ma1509 backend, saved it with
xsane 0.90 to a .tiff file and could open it with xpaint (2.6.2)
without problems. Same with the test backend. That's with default
settings (Jpeg compression). Color mode, 8 bit/color. xpaint doesn't
seem to be able to display 16 bit images.
> And: ImageMagick
Version 22.214.171.124: no problems with 8 and 16 bit modes.
> And: xv
Not installed here.
> And: ???
> If such a lot of tools have problems with tiff's standardly produced
> by xsane, than the defaults of xsane should be changed to the solution
> you are outlining below.
Maybe the bug occurs only sometimes and I had luck? However I have
never noticed any problems.
Maybe it's a problem with libtiff?
hmg@hmg1:~$ ldd /usr/local/bin/xsane
libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40359000)
> But: 1. I did not find any control in the xsane preferences menu
> for changing this tiff compression mode.
Preferences->setup-Image TIFF 16 bit/8bit image compression