<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fromexample(name=None, engine=None):
 """ Load example image data. Data are downloaded from S3, so this method requires an internet connection. Parameters name : str Name of dataset, if not specified will print options. engine : object, default = None Computational engine (e.g. a SparkContext for Spark) """

    datasets = ['mouse', 'fish']

    if name is None:
        print('Availiable example image datasets')
        for d in datasets:
            print('- ' + d)
        return

    check_options(name, datasets)

    path = 's3n://thunder-sample-data/images/' + name

    if name == 'mouse':
        data = frombinary(path=path, npartitions=1, order='F', engine=engine)

    if name == 'fish':
        data = fromtif(path=path, npartitions=1, engine=engine)

    if spark and isinstance(engine, spark):
        data.cache()
        data.compute()

    return data