June 18, 2016
as a complement to jpeg decoder, here[1] is jpeg encoder from the same author. surprisingly, it is more than two times smaller; i took a look at it and decided: why, we should have both!

author claims that is supports baseline grayscale and RGB jpegs. i tested it on some images i have, but no heavily testing was done. it *should* work, though, as it is straightforward port.

it is completely independent of decoder, and self-contained.

unlicense, the same as encoder. yep, i know, i know, i'm very sorry. fork it and relicense!

[1] http://repo.or.cz/iv.d.git/blob_plain/HEAD:/jpege.d