Input image dimensions

Answers to your 1st question are here: Position, Size, Orientation, and Image Dimension