Thank you for both the fix and explaining! I didn't get the chance to test it with TIFFs that contain only non-zero values, but I understand now the issue slightly better and will explore it further.
I did some reading on the topic but I'm not totally clear yet - would you say that black pixel/zeros are valid according to the tiff specs and it just happens that Hugin is struggling with them (eg. divide by zero etc) so avoiding them is a way to overcome the issue? Or is it a problem with the file encoding that I should point out to the Affinity Photo team to have it fixed? Out of curiosity, does the fix ignore these zero/black pixels or does it treat them as if they are 1 for int (or a very small positive value eg. 1.5e-45 for float)? -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/2089848 Title: possible 32bit TIFF mishandling Status in Hugin: Fix Committed Bug description: I'm testing an HDR workflow with 32bit HDR tiff files (BT.2020 Linear) and have noticed 2 issues: 1) The thumbnails on the Photos tab have different gamma/color mapping to the previews in the Masks and Control points (I suspect that these three tabs are not using the same gamma curve). 2) cpfind returns 0 control points. running on: M1 Mac, macOS Sequoia 15.1.1 cpfind 2024.0.1.ead3af10a01a built by Author name cpfind log: Hugin's cpfind 2024.0.1.ead3af10a01a built by Author name based on Pan-o-matic by Anael Orlinski Using 7 threads Project contains the following images: Image 0 Imagefile: /Volumes/Ursula/trip photos/RAW to JXL (automated 1.5eV)/subs/P8240703 panorama (mono and color)/P8240703.tiff Remapped : no Image 1 Imagefile: /Volumes/Ursula/trip photo/RAW to JXL (automated 1.5eV)/subs/P8240703 panorama (mono and color)/P8240704.tiff Remapped : no Image 2 Imagefile: /Volumes/Ursula/trip photo/RAW to JXL (automated 1.5eV)/subs/P8240703 panorama (mono and color)/P8240705.tiff Remapped : no Image 3 Imagefile: /Volumes/Ursula/trip photo/RAW to JXL (automated 1.5eV)/subs/P8240703 panorama (mono and color)/P8240706.tiff Remapped : no --- Analyze Images --- i0 : Analyzing image... i1 : Analyzing image... i3 : Analyzing image... i2 : Analyzing image... Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT32'. Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT32'. Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT32'. Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT32'. Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT32'. Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT32'. Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT32'. Warning: TIFFDecoder: no TIFFTAG_SAMPLEFORMAT or TIFFTAG_DATATYPE, guessing pixeltype 'UINT32'. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/2089848/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~hugin-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp

