1. An image reading apparatus comprising: an image reading means for reading image data of a plurality of lines in a document in at least one of a main scan direction and a subscan direction; and decision means for determining document edges for each of the plurality of lines determined from the image data read by said image reading means and for deciding a document size based on the document edges of the plurality of lines.