def default_image_loader(filename, flags, **kwargs):
    """This default image loader just returns filename, rect, and any flags."""

    def load(rect=None, flags=None):
        return filename, rect, flags

    return load