1. A method for processing an image, comprising:receiving an instruction for a preset fly-away special effect;
creating a facial grid and facial feature grids in the image to be processed;
determining a facial image in an image region covered by the facial grid;
setting a pixel value of each pixel in the facial image to a target pixel value;
extracting facial feature images from an image region covered by the facial feature grids; and
obtaining a target image by mapping the facial feature images onto the facial image based on a preset triangular mapping algorithm and a preset offset.