code: def renderImage(self, output='', show=True):
  		
  		#Merge all the layers to apply blending modes
  		resultLayer = self.image.mergeAllLayers()
  
  		#Show and save the results
  		img = PIL.Image.fromarray(resultLayer.data, 'RGBA')
  		
  		if show:
  			img.show()
  
  		if output!='':
  			img.save(output, 'PNG')
docs: Renders the :py:class:`Image` and outputs the final PNG file.
  		
  		:param output: A string with the output file path, can be empty if you don't want to save the final image.
  		:param show: A boolean telling the system to display the final image after the rendering is done.
  		:rtype: Nothing.