| 7699 | } |
| 7700 | |
| 7701 | STBIDEF int stbi_info_from_file(FILE *f, int *x, int *y, int *comp) |
| 7702 | { |
| 7703 | int r; |
| 7704 | stbi__context s; |
| 7705 | long pos = ftell(f); |
| 7706 | stbi__start_file(&s, f); |
| 7707 | r = stbi__info_main(&s,x,y,comp); |
| 7708 | fseek(f,pos,SEEK_SET); |
| 7709 | return r; |
| 7710 | } |
| 7711 | |
| 7712 | STBIDEF int stbi_is_16_bit(char const *filename) |
| 7713 | { |
no test coverage detected