As title says - small hdr workflow improvement.
Are there any specs of this fileformat available?
Luminance HDR software can read/write: https://sourceforge.net/projects/qtpfsgui/files/luminance/2.5.1/ Wikipedia info: https://en.wikipedia.org/wiki/Radiance_(software)#HDR_image_format Here is some C++ info: https://www.gamedev.net/forums/topic/573302-c-reading-radiance-hdr-files/ http://radsite.lbl.gov/radiance/refer/Notes/picture_format.html
As far as I remember there is no colorspace info in .hdr in contrary to .exr
*** Bug 413958 has been marked as a duplicate of this bug. ***
Some more info: https://www.flipcode.com/archives/HDR_Image_Reader.shtml http://paulbourke.net/dataformats/pic/ And ImageMagick code: https://github.com/ImageMagick/ImageMagick/blob/main/coders/hdr.c https://github.com/ImageMagick/ImageMagick/blob/main/coders/hdr.h
Git commit 1111025d4c79e52694df0f68f11bd11937aa11aa by Dmitry Kazakov, on behalf of Rasyuqa A. H. Committed on 26/07/2023 at 12:49. Pushed by dkazakov into branch 'master'. [FEATURE] Add support for Radiance RGBE The patch adds basic Radiance RGBE format `.hdr` import/export functionality to Krita. Related: bug 413958 Import code is based on KImageFormats as they're indeed can parse RGBE images, but the results are always in uint8, aka. `QImage::Format_RGB32`. And export code is inspired from https://www.graphics.cornell.edu/~bjw/rgbe.html Some format limitation: - Flattened image - No color profile, exported image will be always converted to float, linear sRGB - No alpha M +1 -0 krita/data/aboutdata/developers.txt M +6 -1 libs/koplugin/KisMimeDatabase.cpp M +2 -0 plugins/impex/CMakeLists.txt M +1 -1 plugins/impex/raw/krita_raw_import.json A +25 -0 plugins/impex/rgbe/CMakeLists.txt A +282 -0 plugins/impex/rgbe/RGBEExport.cpp [License: GPL(v2.0+)] A +28 -0 plugins/impex/rgbe/RGBEExport.h [License: GPL(v2.0+)] A +346 -0 plugins/impex/rgbe/RGBEImport.cpp [License: GPL(v2.0+)] A +23 -0 plugins/impex/rgbe/RGBEImport.h [License: GPL(v2.0+)] A +37 -0 plugins/impex/rgbe/kis_wdg_options_rgbe.cpp [License: GPL(v2.0+)] A +29 -0 plugins/impex/rgbe/kis_wdg_options_rgbe.h [License: GPL(v2.0+)] A +96 -0 plugins/impex/rgbe/kis_wdg_options_rgbe.ui A +74 -0 plugins/impex/rgbe/krita_rgbe.desktop A +13 -0 plugins/impex/rgbe/krita_rgbe_export.json A +13 -0 plugins/impex/rgbe/krita_rgbe_import.json A +8 -0 plugins/impex/rgbe/tests/CMakeLists.txt A +- -- plugins/impex/rgbe/tests/data/results/256box.hdr.png A +- -- plugins/impex/rgbe/tests/data/results/objects.kra A +- -- plugins/impex/rgbe/tests/data/sources/256box.hdr A +- -- plugins/impex/rgbe/tests/data/sources/hdr/objects.hdr A +95 -0 plugins/impex/rgbe/tests/kis_rgbe_test.cpp [License: GPL(v2.0+)] A +30 -0 plugins/impex/rgbe/tests/kis_rgbe_test.h [License: GPL(v2.0+)] https://invent.kde.org/graphics/krita/-/commit/1111025d4c79e52694df0f68f11bd11937aa11aa