| 8401 | } |
| 8402 | |
| 8403 | STBIDEF int stbi_info_from_file(FILE* f, int* x, int* y, int* comp) { |
| 8404 | int r; |
| 8405 | stbi__context s; |
| 8406 | long pos = ftell(f); |
| 8407 | stbi__start_file(&s, f); |
| 8408 | r = stbi__info_main(&s, x, y, comp); |
| 8409 | fseek(f, pos, SEEK_SET); |
| 8410 | return r; |
| 8411 | } |
| 8412 | |
| 8413 | STBIDEF int stbi_is_16_bit(char const* filename) { |
| 8414 | FILE* f = stbi__fopen(filename, "rb"); |
no test coverage detected