Objective: To stop stray light bouncing inside wooded pinhole camera and ruining photos.

Which of the following solutions is more sound in terms of naive physics reasoning?
Paint the insides a dark color to absorb photons.