[sane-devel] backend template

Henning Meier-Geinitz henning@meier-geinitz.de
Tue, 7 Jan 2003 11:08:15 +0100


Hi,

On Tue, Jan 07, 2003 at 02:35:33PM +0800, ' ' wrote:
> Hi, I'd like to ask if there's available example of backend that will
> scan a canned data.  What i mean is it doesn't need a scanner but
> will only pass a picture such as JPEG file to frontends.

There are two backends that may help: First, the "test" backend. It
generates test images and provides all kinds of test options. It's
disabled by default in dll.conf so you can either enable it there or
call it directly (e.g. xsane test). Second, the pnm backend. With the
pnm backend, you can load pnm image files. This backend isn't compiles
by default. If you want it, run configure with option
--enable-pnm-backend.

Bye,
  Henning