A person paints a photo of a dog, based on a photo of a dog.
A person paints a dog based on a photo.