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

From: Markus Teich <markus.teich_AT_stusta.mhn.de>
Date: Wed, 16 Jul 2014 17:05:01 +0200

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
Received on Wed Jul 16 2014 - 17:05:01 CEST

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