Where does Hugin set color profile for images it produces?

9 views
Skip to first unread message

David W. Jones

unread,
Jul 23, 2023, 7:25:19 PMJul 23
to hugin-ptx

Since upgrading to Debian 12 Bookworm, panoramas that Hugin produces now crash the Luminance HDR application I use for producing the final panorama. Starting Luminance from the command line reports that "libpng warning: iCCP: known incorrect sRGB profile".

After Luminance crashes, it reports:

./src/Libpfs/colorspace/rgbremapper.h:95: uint8_t Remapper<unsigned char>::operator()(float) const: Assertion `sample >= 0.f' failed.
Aborted (core dumped)

I don't remember changing anything about that, but where does Hugin Version: 2022.0.0.a0962865f932 set the color profile?

Thanks.

-- 
David W. Jones
gnome...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com
My password is the last 8 digits of π.

David W. Jones

unread,
Jul 24, 2023, 5:38:02 PMJul 24
to hugin-ptx
Thanks, Yves.

I'm using the version of Hugin that Debian Bookworm provides. I'm pretty sure the library got changed, too. Everything got upgraded.

I thought about where Hugin sets its color profile information. It copies it from one of the source images. I make the source images using RawTherapee, and think now that the way I was using color profiles might have provided a conflict. Several years ago, I had downloaded a big library of ICC profiles, unzipped them into a subfolder on my home folder, and was using them. I guess the one I was using had something wrong with it, the older software just ignored them, but the newer applications don't.

Oh, well. Still trying out various profiles in RawTherapee, looking for one that provides what I want without crashing Luminance after Hugin copies in the original profile...although I can turn that off in Hugin and see if it makes a difference.

On 7/24/23 00:56, tennevin.yves wrote:

I think the color profile is just a warning.

The error is probably linked to your lib.
Did you try to compile it again?
I guess when you upgraded your OS some library got changed ?

-- 
Yves Tennevin / esby <dot> free.fr

http://esby.free.fr/contact.html
Reply all
Reply to author
Forward
0 new messages