The definition of the compact-open topology differs slightly depending on whether one is working in the context of compactly generated topological spaces or arbitrary topological spaces.
If $X$ and $Y$ are topological spaces, then the compact-open topology on the set of continuous functions $C(X,Y)$ has, as a sub-basis, subsets of the form $V(K,U)$ where $K$ is a compact subset of $X$, $U$ is an open subset of $Y$, and $V(K,U):= \{f\in C(X,Y)\ \vert \ f(K)\subseteq U\}$.
When working with compactly generated topological spaces, this definition is modified to only allow compact sets $K$ which are the image of a compact Hausdorff space (see https://en.wikipedia.org/wiki/Compact-open_topology).
This suggests that not every compact space is the continuous image of a compact Hausdorff space. What is an example of such a space?
This extended abtract by Künzi and van der Zypen seems of interest. It mentions in passing (remark 3, page 3) a reference
where it is supposedly shown that a compact space need not be the continuous image of a compact $T_2$ space, based on a theorem
I assume, but I have no access to the reference, that this theorem is shown in the Stone paper. I did find the (not so hard proof) in this paper (lemma 1)
Then $\alpha(\mathbb{Q})$ the Alexandroff extension of $\mathbb{Q}$, being a well-known example of a KC but not Hausdorff compact space (see Counterexamples in Topology), must be an example, based on this theorem.
Also the van Douwen example mentioned in this paper of a countable anti-Hausdorff (all non-empty open sets intersect) compact KC space (also sequential and US) is such an example.