original_docstring:  the function createBlue displays the original image, once closed it displays the image with a blue filter
  
      -Emilio Lindia
      
docstring: the function createBlue displays the original image, once closed it displays the image with a blue filter
  Emilio Lindia
docstring_tokens: the function createBlue displays the original image once closed it displays the image with a blue filter Emilio Lindia
code: def create_blue( img ):
      """ the function createBlue displays the original image, once closed it displays the image with a blue filter
  
      -Emilio Lindia
      """
      image = copy(img)
      # image = load_image('p2-original.jpg')  # loads the original colourless picture
      show(image)  # shows original image
  
      new_image = image
  
      for x, y, (r, g, b) in image:  # examines all pixels
          blue = create_color(0, 0, b)  # creates a 100% blue filter
  
          set_color(new_image, x, y, blue)
  
      save_as(new_image, 'blue_channel.png')  # saves the blue filter as a new image
      show(load_image('blue_channel.png'))  # shows image
  
      print('blue_channel saved as new_image')
      return new_image
code_tokens: def create_blue ( img ) : image = copy ( img ) show ( image ) new_image = image for x , y , ( r , g , b ) in image : blue = create_color ( 0 , 0 , b ) set_color ( new_image , x , y , blue ) save_as ( new_image , 'blue_channel.png' ) show ( load_image ( 'blue_channel.png' ) ) print ( 'blue_channel saved as new_image' ) return new_image
short_docstring: the function createBlue displays the original image, once closed it displays the image with a blue filter
  Emilio Lindia
short_docstring_tokens: the function createBlue displays the original image once closed it displays the image with a blue filter Emilio Lindia
comment: """ the function createBlue displays the original image, once closed it displays the image with a blue filter
  
      -Emilio Lindia
      """$SEP$# image = load_image('p2-original.jpg')  # loads the original colourless picture$SEP$# shows original image$SEP$# examines all pixels$SEP$# creates a 100% blue filter$SEP$# saves the blue filter as a new image$SEP$# shows image