Key takeaways:The earliest surviving permanent photograph was created by Joseph Nicéphore Niépce in 1826 using heliography.Digital pictures consist of pixel…