Re: [dev] Looking for simple, alpha supporting image format
Lee F. 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