Re: [dev] Looking for simple, alpha supporting image format

From: FRIGN <dev_AT_frign.de>
Date: Wed, 16 Jul 2014 16:33:25 +0200

On Wed, 16 Jul 2014 10:16:17 -0400
Lee F. <REMOVED_UPON_REQUEST_AT_gmail.com> 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 <dev_AT_frign.de>
Received on Wed Jul 16 2014 - 16:33:25 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 16 2014 - 16:36:12 CEST