libsane-pnm bugs?

Tripp Lilley (tlilley@perspex.com)
Wed, 10 Feb 1999 01:07:34 -0500 (EST)

Have other folks' experiences with libsane-pnm been generally positive or
negative? I keep discovering inconsistencies in it, and it generally seems
to not work as advertised. In particular:

* it seems to segfault in sane_read sometimes (Linux 2.0.36). I've checked
to make sure that my memory blocks are all getting allocated. I realize
that I might be having some problems since I'm writing inside of an XSUB,
and there may be perl wackiness going on. However, libsane-umax doesn't
segfault :-)

* when three-pass is set to true, I get GREEN frames over and over, and
never get anything else. I'm calling sane_start after I get the EOF flag
for each frame, but still get the danged GREEN frames.

For what it's worth, xv renders my sample PNM file properly, so I assume
that it's clean.

--
   Tripp Lilley + Innovative Workflow Engineering, Inc. + (tripp@iweinc.com)
------------------------------------------------------------------------------
  "So perl is like a graceful swan, gliding across a lake. But underneath the
   water, there's these little legs, paddling like buggery."

-- beable van polasm in http://www.dejanews.com/getdoc.xp?AN=440381254

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com