Save images as jpg instead of png