def find_cover_image(container, strict=False):
 ver = container.opf_version_parsed
 if (ver.major < 3):
  return find_cover_image2(container, strict=strict)
 else:
  return find_cover_image3(container)

def find_cover_image ( container , strict = False ) : ver = container . opf_version_parsed if ( ver . major < 3 ) : return find_cover_image2 ( container , strict = strict ) else : return find_cover_image3 ( container )
find a raster image marked as a cover in the opf .