Skip to content
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

openexr 3.3.0 #192399

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

openexr 3.3.0 #192399

wants to merge 12 commits into from

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
Minor release several significant changes:
  • The C++ API now uses the OpenEXRCore library underneath.

    • This is a transparent change to the existing API, although the ABI (i.e. structure / class layout) has changed
    • Existing reading of pixel data should be more efficient due to fewer memory allocations / frees during the process of reading. Additionally, some more specialisation of unpacking routines may result in faster unpack times
    • All compression routines are implemented by the C Core layer underneath and no longer duplicated
    • Initial support for "stateless" reading of scanlines has been proposed, allowing multiple threads to read scanlines into different frame buffer objects at the same time. While well tested at the Core level, the C++ api should be considered experimental for this release
    • Thread dispatch for reading different file types has been made more homogeneous, so is simpler and more consistent
  • New API for accessing compression types

    In anticipation of future support for new compression types, there is now a convenience API for mapping between compression type names and the associated enum:

    getCompressionDescriptionFromId(Compression, std::string&)
    getCompressionIdFromName(const std::string&, Compression&)
    getCompressionNameFromId(Compression, std::string&)
    getCompressionNamesString(const std::string&, std::string&)
    getCompressionNumScanlines(Compression)
    isValidCompression(int)
    
  • New bin tools:

    • exrmetrics - Read an OpenEXR image from infile, write an identical copy to outfile reporting time taken to read/write and file sizes. Useful for benchmarking performance in space and time.

    • exrmanifest - Read exr files and print the contents of the embedded manifest. The manifest provides a mapping between integer object identifiers and human-readible strings. See OpenEXR Deep IDs Specification for more details.

  • New python bindings.

    This version introduces a new python API, the File object, which provides full support for reading and writing all types of .exr image files, including scanline, tiled, deep, mult-part, multi-view, and multi-resolution images with pixel types of unsigned 32-bit integers and 16- and 32-bit floats. It provides access to pixel data through numpy arrays, as either one array per channel or with R, G, B, and A interleaved into a single array RGBA array.

    Previous releases of the openexr python module supported only scanline files. The previous API remains in place for now for backwards compatibility.

    See src/wrappers/python/README.md for a synopsis.

@github-actions github-actions bot added the bump-formula-pr PR was created using `brew bump-formula-pr` label Sep 30, 2024
@github-actions github-actions bot added the long build Set a long timeout for formula testing label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` long build Set a long timeout for formula testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants