What you have to do:
- Remove the staples of your leaflet.
- Create a new folder for your images to scan.
- Scan the batch of leaflet pages as PNG image files.
- First scan the outer pages starting with the cover.
- Then scan the inner pages starting with the cover.
- Run the script
convert.sh(see above) in the folder containing the *.PNG images.
- Staple the leaflet again.