google / libultrahdr

Ultra HDR is a true HDR image format, and is backcompatible. libultrahdr is the reference codec for the Ultra HDR format. The codecs that support the format can render the HDR intent of the image on HDR displays; other codecs can still decode and display the SDR intent of the image.
https://developer.android.com/guide/topics/media/platform/hdr-image-format
Apache License 2.0
146 stars 23 forks source link

Add support for configuring max dimension #223

Closed ram-mohan closed 1 month ago

ram-mohan commented 1 month ago

uhdr library defaults max supported dimension to 8k resolution. For handling images with resolution exceeding 8192x8192, reconfigure the library with option UHDR_MAX_DIMENSION

fixes #221

Build: cmake -DUHDR_MAX_DIMENSION=16384 ../