3 ms·
I couldn't get this to work reliably. The tty messed with cr and lf characters unpredictably. I'm curious if you found a way around this issue.
by gnachman 10y ago
I couldn't get this to work reliably. The tty messed with cr and lf characters unpredictably. I'm curious if you found a way around this issue.
- riskable 10y agoIt should work reliably but only with "modern" jpeg files. Older files have a slightly different (shorter; no exif stuff) header that makes them more ambiguous. So some of those might not get detected properly but it should work for anything taken by a modern camera/phone. PNGs should always work as that format is very easy to detect.