An image rendering and coding method includes first sending, by a first processor, to-be-rendered data to a second processor; instructing the second processor to obtain first format data through rendering based on the to-be-rendered data, where the first format data is in first storage space of the second processor; instructing, by the first processor, the second processor to convert the first format data into second format data; and instructing the second processor to code the second format data into third format data, where a first data capacity of the third format data is less than a second data capacity of the second format data; and sending the third format data to a client.