I’m scanning old family photos with a Canon LiDE 400 using scanimage but the scanner outputs/scans the whole scanning surface, not only the photo. I’m working in the Linux terminal and I’d rather not install a GUI at this time. If I did, I’d simply use XSane to crop the image. The scanner doesn’t have any length/width markings along its edges, otherwise I’d just input the dimensions of the photo.
Any solutions?


Thanks! I did end up setting the X and Y measurements. It’s just too bad that my scanners scanning points do not start exactly in the corner of the scanner. It was a somewhat cheapo scanner, so I guess I got what I paid for.
I ended up writing a wrapper shell script that added a fudge value onto the x and y so I wouldn’t have to do it myself every time. :)