Skip to content

Python: ImageBuf constructor/reset from numpy array #3246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 31, 2021

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Dec 27, 2021

Deduce the ImageSpec from the shape and type of the ndarray, and
copy its contents into the ImageBuf.

Closes #2954

Deduce the ImageSpec from the shape and type of the ndarray, and
copy its contents into the ImageBuf.

Closes 2954
@lgritz lgritz merged commit 9d6daca into AcademySoftwareFoundation:master Dec 31, 2021
@lgritz lgritz deleted the lg-pyimagebuf branch January 1, 2022 18:33
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Jan 10, 2022
…oundation#3246)

Deduce the ImageSpec from the shape and type of the ndarray, and
copy its contents into the ImageBuf.

Closes AcademySoftwareFoundation#2954
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE REQUEST] Python ImageBuf ctr from a numpy array
1 participant