libultrahdr icon indicating copy to clipboard operation
libultrahdr copied to clipboard

Request: Support for 1:1 (and 1:2) resolution gain maps

Open gregbenz opened this issue 1 year ago • 3 comments

When encoding, the output always seems to be a gain map with 1:4 resolution. This can cause unwanted artifacts in high frequency detail. It would be ideal to have options for 1:1 and 1:2 resolution.

gregbenz avatar Apr 23 '24 18:04 gregbenz

For sub-sampled maps, is there a recommended method to ensure best quality when rendering in a browser?

gregbenz avatar Apr 23 '24 18:04 gregbenz

Hi Greg. Currently it is fixed to 4, to change it you'll need to change it in the code and build the library. We are now developing the version 2 version of the library and reading this parameter from user input will be available in v2.

DichenZhang1 avatar Apr 23 '24 20:04 DichenZhang1

@DichenZhang1 Thank you for pointing out that place in the code. Looking forward to v2, sounds like the team has lots of great updates planned. Truly appreciate all you're doing!

gregbenz avatar Apr 23 '24 21:04 gregbenz