mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Merge pull request #28214 from steaphenai:docs-openexr-clarification
docs(env_reference): clarify OpenEXR optional support and security rationale
This commit is contained in:
@@ -352,3 +352,7 @@ Some external dependencies can be detached into a dynamic library, which will be
|
||||
| OPENCV_IO_MAX_IMAGE_PIXELS | num | 1 << 30 | |
|
||||
| OPENCV_IO_ENABLE_OPENEXR | bool | true (set build option OPENCV_IO_FORCE_OPENEXR or use external OpenEXR), false (otherwise) | enable OpenEXR backend |
|
||||
| OPENCV_IO_ENABLE_JASPER | bool | true (set build option OPENCV_IO_FORCE_JASPER), false (otherwise) | enable Jasper backend |
|
||||
|
||||
### Note
|
||||
* OpenEXR support in OpenCV is optional. Source builds may include a bundled 3rdparty OpenEXR 2.3.0, but runtime support must be explicitly enabled via `OPENCV_IO_ENABLE_OPENEXR`. Users can also build OpenCV against a system-installed OpenEXR library.
|
||||
* Support is disabled by default due to historical security considerations with malformed EXR files in older OpenEXR versions. Upgrading to OpenEXR 3.x is not a drop-in change and requires API and ABI adaptations.
|
||||
Reference in New Issue
Block a user