Documentation images jpeg quality and library bug fix