With the development of Earth remote sensing systems, requirements for the data transfer rate, which has almost reached the Shannon limit, become more demanding. A promising solution is the use of transmitted data compression algorithms on board the spacecraft. Of greatest interest for research is the compression of optical images, since they occupy the largest volume of transmitted information and lend themselves well to compression, including lossless compression. Currently, the authors of the article are not aware of efficient algorithms for compressing optical images that would be used onboard domestic spacecraft. Such algorithms must account for the functional features of the optoelectronic equipment matrices, the structure of the obtained images and the issued data packets. The right combination of compression methods, which would take into account the data structure at each stage and ensure the required balance between the compression ratio, compression rate, consumed onboard resources and implementation complexity, must also be applied. Algorithms used in common media data formats do not meet these requirements. The algorithms employed in some foreign spacecraft either compress with loss or with a low compression ratio. Thus, an in-depth analysis is required of the peculiarities of optoelectronic equipment, the structures of transmitted data, as well as of the methods and algorithms for their compression.