There are lots of online image applications which provide image editor services for users. As the plain image may disclose privacy, this paper proposed an encrypted image editing scheme based on homomorphic encryption to make the service be able to process the encrypted image. To achieve this, firstly, a homomorphic encryption scheme was constructed for encrypting the pixels of image. Then, after translating the traditional image editing methods into the operations on encrypted pixels, the encrypted image can be edited homomorphically. The experiments show that our scheme is correct, secure and efficient enough to be used in practical applications.