I believe that there are some places in papers where "codomain" was used in a lax way, when the correct technical term is "image".