On Wed, 16 Jul 2014 10:16:17 -0400 Lee Fallat <[email protected]> wrote:
> I'm with koneu on this one- why make it human readable? > > I don't think you need to store the height either- just the width. > Then just read until EOF and the height will be implicit. Well, how would we know how large the buffer should be? In case only a width is given, you are left to guess and will be forced to realloc very often in case it's not enough. > Honestly I'm surprised the header is just not [width] and nothing > else. Sure, if the file ever gets lost in deletion space it'll never > be recoverable, but that'll teach people not to remove files with so > much haste :) I would have no problem with just having "pic" at the beginning of the file (or any other name we might come up with). I also agree with you that it doesn't have to be human-readable. Cheers FRIGN -- FRIGN <[email protected]>
