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.

--Markus

Reply via email to