The embodiment of the invention provides an image processing method and device. The method is applied to a browser in a terminal, the browser and a server are connected through network , the method comprises the following steps: when a user watches a video image stored in a server through a browser, obtaining a to-be-processed image frame containing a to-be-shielded image frame in a video image, determining a target image region containing the to-be-shielded image frame in the to-be-processed image frame, generating a picture in a preset format based on the position of the target image regionin the to-be-processed image frame, and enabling the generated picture to cover the to-be-shielded image frame. Based on the processing, the image picture in the video image in the server can be directly shielded through the browser, the steps of downloading the video image, transcoding and re-uploading the video image are omitted, and compared with a video image editing application program, the operation complexity is reduced, and then the video image online efficiency is improved.