added zero jpeg compression