docstr: Returns an enhanced image.
  
  :param factor: A floating point value controlling the enhancement.
                 Factor 1.0 always returns a copy of the original image,
                 lower factors mean less color (brightness, contrast,
                 etc), and higher values more. There are no restrictions
                 on this value.
  :rtype: :py:class:`~PIL.Image.Image`
docstr_tok: ["Returns","an","enhanced","image",".",":","param","factor",":","A","floating","point","value","controlling","the","enhancement",".","Factor","1.0","always","returns","a","copy","of","the","original","image",",","lower","factors","mean","less","color","(","brightness",",","contrast",",","etc",")",",","and","higher","values","more",".","There","are","no","restrictions","on","this","value",".",":","rtype",":",":","py",":","class",":","`","~PIL.Image.Image","`"]
code: def enhance(self, factor):
      """
      Returns an enhanced image.
  
      :param factor: A floating point value controlling the enhancement.
                     Factor 1.0 always returns a copy of the original image,
                     lower factors mean less color (brightness, contrast,
                     etc), and higher values more. There are no restrictions
                     on this value.
      :rtype: :py:class:`~PIL.Image.Image`
      """
      return Image.blend(self.degenerate, self.image, factor)
  
file_path: pillow/src/PIL/ImageEnhance.py
imports: from __future__ import annotations
  from .None import Image, ImageFilter, ImageStat
label_desc: Use image node_id 1 for calling the _Enhance obj's underlying member method code with example usage: obj.enhance(factor) and returns: Image