PURPOSE: A digital image processing apparatus and a method thereof for obtaining a stable image through after-compensation are provided to correct the image by using movement information when the image is photographed. CONSTITUTION: A sensor unit confirms whether there is the motion such as the hand shake while taking a picture(S404). A first image data and motion information are inputted(S406). The motion information and the first video data are generated in the form of an image file(S407). A point distribution function is generated by using motion information(S410). A second image data is generated by applying the point distribution function(S411).