1. A screenshot method, comprising: after target software starts, determining whether a module with an image display function has been loaded by the target software; when determining that the module with the image display function has been loaded by the target software, injecting a global hook into the module with the image displaying function; and after receiving a screenshot instruction, executing a screenshot with the global hook; wherein after receiving the screenshot instruction, executing the screenshot with the global hook, comprises: obtaining an image outputted by the module with the image display function by using the global hook, transmitting the image to an Application Programming Interface (API), and displaying the image; when receiving the screenshot instruction, intercepting the image obtained with the global hook.