Comment on There are basically 4 types of files : text, image, audio and audio visual, right ?
it_depends_man@lemmy.world 2 weeks ago
Not really.
For practical purposes, all files “binary”, ones and zeros. And with those ones and zeros, you can encode stuff for example text and for example with ascii en.wikipedia.org/wiki/ASCII But you can also encode programs that can be executed, or what you named, visual, audio, or whatever you want. The differences are the “encodings”.
Sometimes, things work a bit like one of those Russian Matryoshka dolls, for example a PDF can contain a JPG or a PNG but also TXT.
It’s really not that simple as there being “4” types.
I’m not sure that answers your question though.