I am having this continuous transformation
$f: \mathbb C \to \mathbb R$ and $\ f\ (\mathbb C)$ is bounded
Now I have to prove that there are a global maximum and a global minimum.
My thoughts: I think there is a global maximum and a global minimum, because of this theorem:

Questions: Can I use this for my proof? (I am not sure about the "compactness")