If there is a conformal map $f:X \to Y$ where $X,Y \subset \mathbb{C}$ are closed (and bounded), will $f$ necessarily map $\partial X \mapsto \partial Y$ (boundary of $X$ to boundary of $Y$)? Does this hold with weaker conditions also, if so what can be said?
My intuition is that it should do since conformal maps are continuous, so points not on the boundary of $X$ are inside a neighbourhood mapping to a neighbourhood in $Y$. And then since the boundary of $Y$ is mapped to (since image is closed), it must be mapped to from a subset of $\partial X$. Is this true? My doubt comes from not knowing if $f$ will map some points in $\partial X$ to $Y \backslash (\partial Y)$ since conformal does not imply biholomorphic.
Edit: Is it true that the following holds:
A map $f: D \to \mathbb{C}$ is conformal where $D \subset \mathbb{C}$ is closed $\implies$ $D$ is the continuous extension of an open set, $U \subset \mathbb{C}$ so that $D = \overline U$.