Image of Set under Mapping is Set

Theorem
Let $A$ be a class.

Let $\mathrm U$ denote the universal class.

Let $f: A \to \mathrm U$ be a class mapping.

Let $S$ be a subset of $A$.

Then the image $f \left({S}\right)$ is also a set.

If $A$ is a set, then this result is known as the Axiom of Replacement in ZF.

Proof
Aiming for contradiction, suppose that $f \left({S}\right)$ is not a set.

Then $f \left({S}\right)$ must be proper.

By Restriction of Mapping to Image is Surjection, the restriction $f \restriction_{S \times f \left({S}\right)}$ is a surjection.

But this contradicts Surjection from Class to Proper Class.

Thus by contradiction, $f \left({S}\right)$ is a set.

Hence the result.