Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
file: parse JPEG files enough to pull out their size in pixels.
This doesn't handle refilling toybuf in the case where there's so much EXIF data before the header we're looking for that we hit the end of toybuf first. (In part because I couldn't decide whether to do that or switch to a scheme where we only ever lseek() around, reading big-endian shorts.)
- Loading branch information