added jpeg comression option to gui
Merge branch 'jpeg-compression' into develop