made jpg compression a constant