Skip to content

Use non-deprecated read_image() version#2393

Open
rathann wants to merge 1 commit intoolive-editor:masterfrom
rathann:fix-build-with-openimageio-3.0
Open

Use non-deprecated read_image() version#2393
rathann wants to merge 1 commit intoolive-editor:masterfrom
rathann:fix-build-with-openimageio-3.0

Conversation

@rathann
Copy link

@rathann rathann commented Sep 11, 2025

In OpenImageIO 3.0,

The old varieties of ImageInput::read_scanlines, read_tiles, and read_image that did not take subimage and miplevel parameters, and were not thread-safe, have been removed. These have been marked as deprecated since OIIO 2.0.

See
https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/main/docs/Deprecations-3.0.md#imageioh .

Fixes #2392 .

In OpenImageIO 3.0,
> The old varieties of `ImageInput::read_scanlines`, `read_tiles`, and `read_image` that did not take `subimage` and `miplevel` parameters, and were not thread-safe, have been removed. These have been marked as deprecated since OIIO 2.0.

See
https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/main/docs/Deprecations-3.0.md#imageioh
.

Fixes olive-editor#2392 .
@rathann rathann force-pushed the fix-build-with-openimageio-3.0 branch from 02441fa to 564fbea Compare September 11, 2025 10:05
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.

[BUILD] openimageio 3.x compatibility

1 participant