Euclid: Early Release Observations -- Programme overview and pipeline for compact- and diffuse-emission photometry