On Wed, Jul 16, 2014 at 11:05 AM, Markus Teich
<markus.te...@stusta.mhn.de> wrote:
> Lee Fallat wrote:
>> fseek(filehandle, 0, SEEK_END);
>> height = (ftell(filehandle) / RGBA_CHANNEL_SIZE) / width;
>>
>> Then you allocate your buffer.
>
> Heyho Lee,
>
> This needs FILE* instead of just a file descriptor, making usage in pipes
> intractable.
>
...And today I learned the beneficial gains from storing height in an
image format. So much for extreme minimalism!

Reply via email to