def safe_placeholder_filename(orig_filename, ext='png'):
    return '{}.{}'.format(_strip_str(orig_filename), ext)
Strip non-letters/digits from filename and append extension to filename.
dataset/ETHPy150Open jmagnusson/Flask-Resize/flask_resize/__init__.py/safe_placeholder_filename