Eric Richards wrote:
>> Write out the bytes for the data in what ever means you want and have  
>> a means to read that same data
>>
>> It's just data
>>
>>     
> That simple eh ? Umm.. I thought there would be more to it.
>
> Well with gif, jpg,png, psd, etc.. there file size can vary and quality. 
> How do you
> handle things like file size vs quality and such ?
>
>   
Just speaking in general, it comes down to what color data you're 
willing to lose, and building algorithms to make up for that loss to one 
degree or another. You can also combine that with file compression 
routines, which I believe jpeg does. With something like a psd it 
contains the image data plus settings specific to Photoshop, like layers 
and whatnot.

The same applies to multimedia codecs. Decide what information can be 
trimmed off, what can be compressed, and what should be preserved. This 
is what is known as "the tricky bit".

Here's some neat info on PNG, with some technical document links a 
little ways in- http://www.libpng.org/pub/png/

As with most simple things, getting good results can be laborious.

Good luck,
Fargo
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to