Commit Graph

4 Commits

Author SHA1 Message Date
Peter Johnson
8f97637b71 Fix handling of HTTP cameras that do not provide a Content-Length. (#59)
ReadJpeg was not correctly parsing the SOS segment.
2017-02-16 22:11:54 -08:00
Peter Johnson
58931e1d30 Be even more permissive on valid JPEG formats. 2016-12-25 01:45:35 -08:00
Peter Johnson
205d3b1d04 Some cameras don't provide the JFIF header, so don't require it.
This fixes DHT not being inserted on some images.
2016-12-23 22:21:11 -08:00
Peter Johnson
3b82ba8945 Refactor JPEG functions to JpegUtil. 2016-12-04 21:45:37 -08:00