Add save as jpeg feature