Legacy Delphi versions D5-D7 can integrate with contemporary scanning hardware through the WIA-based scanning component. The interface allows for creating scans from within the software.

One of the issues with TWAIN based components is that their code is not being updated anymore, making them increasingly unreliable. Fortunately, the WIA interface provides a new and improved scanning solution for devices like scanners.
This software has a host of features including WIA detection, the ability to scan full or partial documents, set DPI, output to file, output to TPicture object, grayscale mode, abort and error events and no dialogs pop up during operation.
Additionally, users can also adjust the contrast and brightness of the scanned document. Overall, this component has proven to be a reliable and efficient scanning solution that I highly recommend to anyone working with legacy Delphi versions.
Version 1.0.0: Released