Is there a way to know at what scale an
image is scanned ?(through code of course)

By scale I mean the percentage of the original image being scanned.
HP deskscanII offers you the option of increasing and reducing the scale of the scan.

Thanks.
Dan.