OpenEXR image loader/saver library
This project is a build2 package repository that provides access to tinyexr, a small, single-header-only C++ library to load and save OpenEXR (.exr) images.
Usage
Make sure to add the stable section of the cppget.org repository to your project's repositories.manifest to be able to fetch this package.
:
role: prerequisite
location: https://pkg.cppget.org/1/stable
# trust: ...
If the stable section of cppget.org is not an option then add this Git repository itself instead as a prerequisite.
:
role: prerequisite
location: https://github.com/build2-packaging/tinyexr.git
Add the respective dependency in your project's manifest file to make the package available for import.
depends: libtinyexr ^1.0.9
The library can be imported by the following declaration in a buildfile.
import tinyexr = libtinyexr%lib{tinyexr}
Configuration
There are no configuration options available.
Issues and Notes
- The test data in the
libtinyexr-testspackage is more than 240 MiB in size and, as a consequence, not publishable oncppget.orgbecause it is too large. Thus, it is not declared as the mandatory external tests package oflibtinyexr. It can and should still be used for local testing and for CI runs. - By using the macros
TINYEXR_USE_THREADorTINYEXR_USE_OPENMP,tinyexris able to support multithreading by either using C++11 threads or OpenMP. Please note that the package's build system is not automatically adding dependencies and flags forpthreador OpenMP. - Currently, the configuration of dependencies for
tinyexris not handled by the package's build system.tinyexrusesminizby default and it does not provide specific tests for other configurations. Furthermore, support forzlibandstb's implementation ofzlibonly seems to be useful when usingtinyexrwithout a build system as drop-in header file. So, for now, please refrain from using the following macros.TINYEXR_USE_MINIZTINYEXR_USE_STB_ZLIB
tinyexradds ZFP compression only as an experimental support on Linux and MacOS. Currently, it is not supported by the packgage's build system. Hence, please, refrain from using the following macro.TINYEXR_USE_ZFP
- The compilation of the tests package
libtinyexr-testsis not supported on target configurationswindows*-clang**due to the wrong encoding ofwin32-filelist-utf16le.inc. Presumably, this will not be fixed as it is an upstream issue. Please note that the compilation and execution of the basic tests still works on these configurations. Thus, the library should work without flaws on those platforms. - For Windows, the file
'日本語.exr'and the testutf8filenamehad to be removed from distribution and execution, respectively. Please, see this issue for more information. - Emscripten is not supported.
- The examples are not supported by the package's build system, yet.
- For now, the fuzzers are not compiled and run.
Contributing
Thank you in advance for your help and contribution to keep this package up-to-date.
Please, file an issue on GitHub for questions, bug reports, or to recommend updating the package version.
If you're making a pull request to fix bugs or update the package version yourself, refer to the build2 Packaging Guidelines.
| license | BSD-3-Clause |
|---|---|
| project | tinyexr |
| url | github.com/syoyo/tinyexr |
| doc-url | github.com/syoyo/tinyexr |
| src-url | github.com/syoyo/tinyexr |
| syoyo@lighttransport.com |
| version | 1.0.9 |
|---|---|
| repository | https://pkg.cppget.org/1/testing |
| depends | 1; libminiz |
| reviews | 0 |
| version | 1.0.8 |
|---|---|
| repository | https://pkg.cppget.org/1/stable |
| depends | 1; libminiz |
| reviews | +1 |
| version | 1.0.7 |
|---|---|
| repository | https://pkg.cppget.org/1/stable |
| depends | 1; libminiz |
| reviews | +1 |
| version | 1.0.6+1 |
|---|---|
| repository | https://pkg.cppget.org/1/stable |
| depends | 1; libminiz |
| reviews | +1 |