摘要 |
The present disclosure relates to a method and device for transmitting an image, which are used for improving the transmission manner of the image to improve the display effect of the image. The method comprises: receiving an IP connection request sent by a computer; obtaining an IP address of the computer according to the received IP connection request; acquiring a screenshot picture and direction information about the screenshot picture; and sending the screenshot picture and the direction information to the computer through an IP layer according to the received IP address. the device comprises: a receiving module, an IP module, an acquisition module and a sending unit. By means of the present embodiments, a screenshot picture is transmitted through an IP layer without being limited by the hardware of a transmission layer, thereby being applicable to both USB and wireless communications. By means of the present embodiments, besides a screenshot picture, direction information about the screenshot picture is also transmitted, so that a receiving end can better display the screenshot picture according to the direction information, thereby improving a display effect. |