I'm familiar with the Mariner camera. It's pretty fascinating. There obviously no way to return film from a Mars flyby, so they had to take a digital approach. But the technology was so crude in 1965 that they literally had to paint the "digital" images by hand in order to get a visual output. It's a fascinating story.
https://science.nasa.gov/resource/first-tv-image-of-mars-han...
Suffice it to say that this technique has essentially no relation to today's digital cameras, apart from using electrons or something. The Apollo missions did not use digital cameras; they used film, which could produce superb high-resolution images, provided you could return it to Earth.
You can actually learn things in this forum, if you listen to people who know what they're talking about.