Abstract: An image processing apparatus ejects the sheet to witch image processing unit perform to an ejection tray or a staple stacker by a pair of ejection rollers and the like. A sheet path for guiding the sheet to the ejection rollers is opened and closed in conjunction with slide movement of the ejection tray when the ejection tray is attached to a main body of the apparatus, and the sheet path is opened and closed in conjunction with the slide movement of a staple stacker when the staple stacker is attached to the main body of the apparatus.