While it is as simple as that, it would be a good idea to design a 
full-fledged format with version information and hint information so 
that you can tell the difference between a valid and non-valid file. 
There are all sorts of ways to do this, but I would recommend producing 
a more complete format in specification before just reading and writing 
bits.  Of course, if this is just an application for purely personal 
use, then perhaps it is just overkill.

Have you seen the inner structures of other graphic files?  Why are you 
wanting to create a new one?

- Ryan Dary

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 ?
> 
>>  
>>
> 
> 
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> 
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>
> 
_______________________________________________
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