Implemented missing methods and setters in JPEG encoding