This worker is used for image transformation