[sane-devel] Weird behavior in exagear.

Olaf Meeuwissen paddy-hack at member.fsf.org
Mon Jan 8 03:07:23 UTC 2018

Hi Jeff,

Jeff Sadowski writes:

> So, renaming my image from the directly connected method to pmn allows
> me to view it. Now to find out what I need to get a jpeg, tiff, png
> images.

Your scanimage needs to be linked to JPEG, TIFF and PNG libraries.  You
can check with

  ldd $(which scanimage)

On my machine I get

  $ ldd $(which scanimage)
	linux-vdso.so.1 (0x00007fffa9f9a000)
	libsane.so.1 => /usr/lib/x86_64-linux-gnu/libsane.so.1 (0x00007f11434ed000)
	libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f11432ba000)
	libjpeg.so.62 => /usr/lib/x86_64-linux-gnu/libjpeg.so.62 (0x00007f114304f000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1142cb0000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1142aac000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1142892000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f114258e000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f1143902000)

So I can scan directly to JPEG and PNG but not to TIFF.

If you're compiling scanimage yourself from source, you need to have the
development packages installed before you ./configure.

Hope this helps,
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join

More information about the sane-devel mailing list