Retrieve multiple images from TWAIN data source (primarily multiple pages from a scanner document feeder)
Submitted by Joris
When scanning from the document feeder of a scanner using the TWAIN plugin for Windows, the TWAIN capability CAP_XFERCOUNT is not set. This means that the scanner driver will use whatever its default value is. This capability indicates the number of pages the application will be acquiring. In some cases, this makes the driver start a multipage scan, while GIMP is only capable of scanning a single image at a time. Typically, if several pages were present in the feeder, more than one would be scanned, but only a single image would appear in GIMP, making the user lose some data. This capability should therefore be set to 1. This would allow users to scan multipage documents by acquiring sheets one at a time.
GIMP version :
GNU Image Manipulation Program version 2.6.7
using GEGL version 0.1.0 (compiled against version 0.1.0) using GLib version 2.20.4 (compiled against version 2.20.4) using GTK+ version 2.16.5 (compiled against version 2.16.5) using Pango version 1.24.5 (compiled against version 1.24.5) using Fontconfig version 2.7.1 (compiled against version 2.7.1)