There are 3 repositories under image-to-sound topic.
Encode an image to sound and view it as a spectrogram - turn your images into music
Turn an image into sound whose spectrogram looks like the image.
PixelNotes turns your image to sound. The script is a Java program that reads a given input of an image in 'jpg' format and outputs a text file of notes for Max MSP music production
Experiments to convert digital images to melodies. Data sonification project where aesthetic decisions were made.
Image2sound is a python script that can convert an image or video into an audio file.
Encode an image to sound and view it as a spectrogram - 图片转声音
Python program that converts an image file to audio
The auto-generated sound is vary based on the input which is image, in my design, the duration of sound is depends on the size of image – total pixel in an image, but in order to reduce the difference of duration between different images size, so I only retrieve the leftmost digit of total pixel and take its ceiling number. Besides, the frequency of the sound is depending on the average RGB value in that particular image, so there will be 3 frequencies in a sound file.