The framework also offers a MonochromeImage with a single channel per pixel. Coordinates outside the valid range are clamped automatically no error is raised. The pixel coordinate (0,0) corresponds to the top left corner of the image. Reading an image from one of the supported formats is equally simple: RgbImage img = new ( "test.exr" ) Console. The following creates a one pixel image and writes it to various file formats: RgbImage img = new ( width : 1, height : 1 ) img. ![]() The Python package is set up to automatically download an adequate CMake version and compile the C++ code on any platform.Įxcept for the optional Intel Open Image Denoise, all dependencies are header-only and unintrusive, so this library should work pretty much anywhere without any hassle. The Nuget package contains prebuilt binaries of the C++ wrapper for x86-64 Windows, Ubuntu, and macOS (. It also contains a very basic wrapper around Intel Open Image Denoise. The C# wrapper further offers utilities for thread-safe atomic splatting of pixel values, and sending image data to the tev viewer via sockets. In addition, the package offers some basic image manipulation functionality, error metrics, and tone mapping. We also implement our own importer and exporter for PFM. bmp) via stb_image and stb_image_write.Ī subset of TIFF can be read and written via tinydngloader. ![]() ![]() exr (with layers) via tinyexr and a number of other formats (including. A lightweight C# and Python wrapper to read and write RGB images from / to various file formats.
0 Comments
Leave a Reply. |