1. A method of generating compressed data representing a remote desktop image, for a client device, comprising: generating image data for a remote desktop image and analyzing different regions of the remote desktop image; identifying those regions of the remote desktop image that are text regions; selecting non-text regions of the remote desktop image based on a predefined spatial relationship between the non-text regions and the text regions, wherein the predefined spatial relationship indicates locations of non-text regions around text regions whose image data are to be compressed using a first compression protocol which is an upgrade from and is less lossy than a second compression protocol, and wherein no non-text regions are selected for compression using downgraded compression protocols more lossy than the second compression protocol and no text regions are selected for compression using downgraded compression protocols more lossy than the first compression protocol; compressing the image data using the first compression protocol for a first portion of the image data corresponding to the text regions and the selected non-text regions and compressing the image data using the second compression protocol for a second portion of the image data not corresponding to the text regions or the selected non-text regions; and transmitting the compressed image data to the client device.