A non-transitory computer-readable storage medium storing image processing instructions that when executed by a processor cause the processor to:
- acquire a read image generated by reading an original document using a sheet-feed-type scanner transporting the original document configured to read the original document while the original document is being transported, and determining, in accordance with an original document image which corresponds to the original document in the read image, which one of a first skew having tilt in the original document image and a second skew having distortion caused by the sheet-feed-type scanner occurs in the original document image;
- and
- change, in accordance with a result of the determination, processing to be executed when the first skew or the second skew occurs in the original document image, wherein
- the determination is performed by comparing an area of a first region in the read image and an area of a second region in the read image,
- the first region in the read image is sectioned by a straight line connecting a first point and a second point included on an edge of the original document image corresponding to one side of the original document, and
- the second region in the read image is sectioned by the edge of the original document image between the first point and the second point.