Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
Browser's File Interpreters

 
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum
Author Message
onauc
Beginner User
Beginner User


Joined: 18 Nov 2004
Posts: 15

Post Post subject: Browser's File Interpreters Reply with quote

Hiya !

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 ?
Because :

1. so I can learn how the “Compressing Algorithms” were written
and
2. learn how a “Built-In Interpreter to translate Compression Files” are written
and
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 ?
Answer :
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.


Cheers !
Thu Nov 18, 04 5:52 pm
Back to top
onauc View user's profile Send private message
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Q.1: You can not check out the source code for browsers like IE(the most popular browser), because they are not publicly avaliable. You may however, check out the source code of some open source broswers. In that case, you better check out the respective forum of each browser or contact the authors of that browser.

Q2: The browser's color rendering capability primarily depends on the monitor. 8-bit monitors are limited to displaying 256 colors, and the system software and browsers reserve up to 40 colors for their own use (256-40=216). However, a latest monitor can display up to 16,777,216 colors and so are the browser running on those monitors.
_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Thu Nov 18, 04 11:50 pm
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group