摘要 |
A method and device for image transmission are provided for improving the transmission mode and the display effect of images. The method includes: receiving an IP connection request sent from a computer (401); acquiring an IP address of the computer according to the IP connection request received (402); acquiring screenshots and direction information related to the screenshots; and sending the screenshots and the direction information to the computer by means of IP Layer according to the IP address received (403). The device includes: a receiving module (1201), an IP module (1202), an acquisition module (1203) and a sending module (1204). The embodiment may transmit screenshots by means of IP Layer, not restricted by hardware of a transport layer, and applicable to both USB and wireless communication. In addition to screenshots, the embodiment also transmits direction information related to screenshots so that a receiving end may display better screenshots according to direction information, thus improving the display effect. |