The invention provides a digital camera with a disposition device for
automatically converting a picture to an appropriate image meeting the
vision via the viewfinder, wherein the disposition device for
auto-detecting the holding condition of a digital camera comprises: an
insulating envelope having a cavity which is formed by an insulating
bottom and side wall, wherein the cavity is divided into a plurality of
concave regions; a conductive plate covering the cavity of the insulating
envelope and connected to the power source; a plurality of conductive pads
selectively located on the insulating bottom; and a conductive ball
rolling in the cavity by the influence of gravity, wherein the movable
sensor touching one of the conductive pads and the conductive plate
represents the holding condition of the digital camera.