1. A method for image processing, comprising: loading and decrypting an image file to obtain an original image, and saving the original image; shrinking the original image to obtain a pending image with a preset resolution, and saving the pending image; editing the pending image and previewing the pending image in real time; and editing the original image after the real-time preview of the pending image, wherein editing the pending image and previewing the pending image in real-time comprises: adjusting, by a foreground thread, an image editing parameter and triggering a first background thread to perform a corresponding editing operation on the pending image according to the adjusted image editing a parameter; and obtaining an effect image after the editing operation is completed, and notifying, by the first background thread, the foreground thread to show the effect image on a user interface for real-time preview.