Added jpg compression (omg!)