def wmf_unwrap(wmf_data, verbose=0):
 w = WMF(verbose=verbose)
 w(wmf_data)
 if (not w.has_raster_image):
  raise ValueError('No raster image found in the WMF')
 return w.to_png()

def wmf_unwrap ( wmf_data , verbose = 0 ) : w = WMF ( verbose = verbose ) w ( wmf_data ) if ( not w . has_raster_image ) : raise ValueError ( 'No raster image found in the WMF' ) return w . to_png ( )
return the largest embedded raster image in the wmf .