def draw_slide(self, slide):
        """ Return layout information for slide """

        image = Image.new('RGB', (WIDTH, HEIGHT), 'black')
        draw = ImageDraw.Draw(image)
        draw.font = self.font
        
        self.draw_slide_text(draw, slide)

        self.draw_slide_images(draw, slide, image)

        return image
def draw_slide ( self , slide ) : image = Image . new ( 'RGB' , ( WIDTH , HEIGHT ) , 'black' ) draw = ImageDraw . Draw ( image ) draw . font = self . font self . draw_slide_text ( draw , slide ) self . draw_slide_images ( draw , slide , image ) return image
Return layout information for slide