Adding the attribute `type=int` to this argument will help users of the library by providing a sane error if they enter the wrong value. Entering something like `high` should have no effect for the image quality. It would be better to throw an error immediately then to silently swallow the problem and fail somewhere else.