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