Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.
This repository was archived by the owner on May 27, 2025. It is now read-only.

snark python.imaging.write() doesn't allow to change the stream #123

@spotiris

Description

@spotiris

In snark/python/snark/imaging/cv_image.py

Currently the write() function is
def write( image, flush=False ):
which writes to stdout; it should be changed to:
def write( image, flush=False, file=sys.stdout ):
to allow writing to streams other than stdout.

Also there is a write() function but no read(), only a reading iterator is provided.
There should be a read() function that is referenced in the iterator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions