import base64


def GetDecodedContent(src):
  """Decodes the data URL into binary content of a JPG image.

  Args:
    src: source data.

  Returns:
    Base64 Decoded source data.
  """
  prefix = 'data:image/jpg;base64,'
  content = src[len(prefix):]
  return base64.b64decode(content)