version 1.1.1.3, 2013/07/22 01:32:05
|
version 1.1.1.4, 2013/10/14 08:02:34
|
Line 112 static struct gfxinfo *php_handle_gif (php_stream * st
|
Line 112 static struct gfxinfo *php_handle_gif (php_stream * st
|
result->width = (unsigned int)dim[0] | (((unsigned int)dim[1])<<8); |
result->width = (unsigned int)dim[0] | (((unsigned int)dim[1])<<8); |
result->height = (unsigned int)dim[2] | (((unsigned int)dim[3])<<8); |
result->height = (unsigned int)dim[2] | (((unsigned int)dim[3])<<8); |
result->bits = dim[4]&0x80 ? ((((unsigned int)dim[4])&0x07) + 1) : 0; |
result->bits = dim[4]&0x80 ? ((((unsigned int)dim[4])&0x07) + 1) : 0; |
result->channels = 3; /* allways */ | result->channels = 3; /* always */ |
|
|
return result; |
return result; |
} |
} |