parameters: (img, saturation_factor)
return_statement: return F_pil.adjust_saturation(img, saturation_factor)
docstring: Function for adjusting saturation of an image.
      Args::
          [in] img (PIL Image.Image): Image to be adjusted.
          [in] saturation_factor (float):  How much to adjust the saturation.
               0 will give a black and white image, 1 will give the original image
               while 2 will enhance the saturation by a factor of 2.
      Returns::
          [out] PIL Image.Image: Saturation adjusted image.
      Example::
          
          img = Image.open(...)
          img_ = transform.adjust_saturation(img, 0.5)
docstring_summary: Function for adjusting saturation of an image.
      Args::
          [in] img (PIL Image.Image): Image to be adjusted.
          [in] saturation_factor (float):  How much to adjust the saturation.
               0 will give a black and white image, 1 will give the original image
               while 2 will enhance the saturation by a factor of 2.
      Returns::
          [out] PIL Image.Image: Saturation adjusted image.
      Example::
          
          img = Image.open(...)
          img_ = transform.adjust_saturation(img, 0.5)
docstring_tokens: Function for adjusting saturation of an image . Args :: [ in ] img ( PIL Image . Image ) : Image to be adjusted . [ in ] saturation_factor ( float ) : How much to adjust the saturation . 0 will give a black and white image 1 will give the original image while 2 will enhance the saturation by a factor of 2 . Returns :: [ out ] PIL Image . Image : Saturation adjusted image . Example :: img = Image . open ( ... ) img_ = transform . adjust_saturation ( img 0 . 5 )
function: def adjust_saturation(img, saturation_factor):
      """
      Function for adjusting saturation of an image.
      Args::
          [in] img (PIL Image.Image): Image to be adjusted.
          [in] saturation_factor (float):  How much to adjust the saturation.
               0 will give a black and white image, 1 will give the original image
               while 2 will enhance the saturation by a factor of 2.
      Returns::
          [out] PIL Image.Image: Saturation adjusted image.
      Example::
          
          img = Image.open(...)
          img_ = transform.adjust_saturation(img, 0.5)
      """
      return F_pil.adjust_saturation(img, saturation_factor)
function_tokens: def adjust_saturation ( img , saturation_factor ) : return F_pil . adjust_saturation ( img , saturation_factor )