Skip to content

[FEATURE REQUEST] Python Bindings: Support for Pickling #2534

Open
@cschroers

Description

@cschroers

It seems that pickling support is required for easily using ImageBuf / ImageSpec objects in multiprocessing in python. Therefore it would be great if pickling support could be added to them along these lines:
https://pybind11.readthedocs.io/en/stable/advanced/classes.html#pickling-support

For meta data in ImageSpec, using to_xml() from_xml() could be an alternative although it does seem that from_xml() is not fully implemented to capture all meta data. There may be other alternatives which I am not aware of.

Thanks for consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood one-day project for beginners without much knowledge of the code base.pythonPython APIs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions