I want to see how the following types of files’ Interpreters are built into a browser :
1. Un-compressed Image files
2. Compressed Image files
3. Un-compressed Animation files
4. Compressed Animation files
5. Un-compressed Audio files
6. Compressed Audio files
Question 1 :
So, can anyone tell me please, how do I check all this out ?
I mean, which file in a browser or which part of the browser’s source code should I check to read the source codes of the above 6 file types’ Interpreters ?
A browser has millions of lines of codes. I don’t want to go through each and everyone of these lines of codes and so I need your help to direct me to the right direction so I can easily spot the above 6 types of file’s source codes.
Why do I want to check the source codes of these 6 file types ?
1. so I can learn how the “Compressing Algorithms were written
2. learn how a “Built-In Interpreter to translate Compression Files are written
3. learn which part of the browser these 6 types of file’s “Built-In Interpreters are residing.
You may have a question :
Why do I want to learn and gain experience in all these ?
So if I ever come-up with a better “compressing algorithm for an “Image or Audio or “Animation or “Video file and create my own “compression file type then I can write the “Interpreter for my compression file type and simply “include it in the “appropriate place in the browser (build the Interpreter in the browser) so whenever a website has a compressed “audio or “image or “animation or “video file with my invented “file extension on it then the browser will be capable to understand it with the help of my “built-In Interpreter (which I insert in it) and translate or “decompress the “compressing codes.
Question 2 :
How many colours does a browser show ?
I understand that there are millions of similar colours but how many colours actually are our browsers capable of exactly showing to us when translating an image, animation, video from an uncompressed file to provide good quality images, animations and videos ?
The same question goes for compressed files.