@hug.get('/image.png', output=hug.output_format.png_image)
def image():
 return '../artwork/logo.png'

@ hug . get ( '/image.png' , output = hug . output_format . png_image ) def image ( ) : return '../artwork/logo.png'
dynamically creates an image type handler for the specified image type .