Generates a preview of src_path as PNG.
  :returns: A list of preview paths, one for each page.

def preview(src_path):
  ''' Generates a preview of src_path as PNG.
  :returns: A list of preview paths, one for each page.
  '''
  previews = []
  for page in list_artboards(src_path):
    previews.append(page.export())
    for artboard in page.artboards:
      previews.append(artboard.export())
  return previews