Added more methods for image manipulation, added method that enables
converting back to .jpg format.