Dynamic jpeg compression: fix #63
Documentation update
Merge in wip branch