Re: [sane-devel] Weird behavior in exagear.

2018-01-07 Thread Olaf Meeuwissen
Hi Jeff,

Jeff writes:

> On 07/01/18 05:53, Jeff Sadowski wrote:
>> I'm using debian in exagear do they compile scanimage without support
>> for jpeg and png? It is looking like I have to try and put some other
>> virtual os on my raspberry pi 3 system.
>
> Isn't it just easier to use ImageMagick or GraphicsMagick to convert
> from pnm to what you want?

Support for JPEG and PNG output was added to scanimage in 1.0.25.  So if
you have that (and your distribution enabled it), you don't need either
of the *Magick's.  Note that there were some bugfixes to the JPEG and
PNG support in 1.0.27.

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

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] Weird behavior in exagear.

2018-01-07 Thread Olaf Meeuwissen
Hi Jeff,

Jeff Sadowski writes:

> I'm using debian in exagear do they compile scanimage without support
> for jpeg and png? It is looking like I have to try and put some other
> virtual os on my raspberry pi 3 system.

That may depend on the Debian version and architecture you're using.
You can check the package dependencies with

  dpkg-query -W -f '${Depends}\n' sane-utils

On my machine (Devuan ASCII, approximately Debian 9), I get

  adduser, lsb-base (>= 3.0-6), update-inetd, debconf (>= 0.5) |
  debconf-2.0, init-system-helpers (>= 1.18~), libavahi-client3 (>=
  0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.15), libieee1284-3,
  libjpeg62-turbo (>= 1.3.1), libpng16-16 (>= 1.6.2-1), libsane (>=
  1.0.24), libsystemd0, libusb-1.0-0 (>= 2:1.0.8)

So, as mentioned already in my previous reply, I can use JPEG and PNG
but not TIFF.

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

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] Weird behavior in exagear.

2018-01-07 Thread Olaf Meeuwissen
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 (0x7fffa9f9a000)
libsane.so.1 => /usr/lib/x86_64-linux-gnu/libsane.so.1 
(0x7f11434ed000)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 
(0x7f11432ba000)
libjpeg.so.62 => /usr/lib/x86_64-linux-gnu/libjpeg.so.62 
(0x7f114304f000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f1142cb)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f1142aac000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x7f1142892000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f114258e000)
/lib64/ld-linux-x86-64.so.2 (0x7f1143902000)

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-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] Weird behavior in exagear.

2018-01-07 Thread Jeff
On 07/01/18 05:53, Jeff Sadowski wrote:
> I'm using debian in exagear do they compile scanimage without support
> for jpeg and png? It is looking like I have to try and put some other
> virtual os on my raspberry pi 3 system.

Isn't it just easier to use ImageMagick or GraphicsMagick to convert
from pnm to what you want?

Regards

Jeff



signature.asc
Description: OpenPGP digital signature
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org