Fixed bugs in Jpeg class
Merge remote-tracking branch 'origin/devel' into devel