Assuming you have an images module object named i, what meth…