Yes, because any superset of the image of a function can be considered as its codomain. Image consists only of the values the function actually takes, but codomain can be larger. In this sense, domain and codomain are not symmetric concepts.

This works.