ImageSharp icon indicating copy to clipboard operation
ImageSharp copied to clipboard

Fix decoding tiff image with BigEndian + 64 bit / pixel + associated alpha

Open Socolin opened this issue 2 weeks ago • 0 comments

Prerequisites

  • [x] I have written a descriptive pull-request title
  • [x] I have verified that there are no overlapping pull-requests open
  • [x] I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules :cop:.
  • [x] I have provided test coverage for my change (where applicable)

Description

This fix #3031 the method ColorFromRgba64Premultiplied seems to do the wrong things, I'm not 100% sure about the new code but it seems to works and kind of make sense. I'm trying to find another implementation as a reference to confirm this is the right things to do (But so far all the C library I checked are so hard to read I was not able to find confirmation...)

Socolin avatar Dec 11 '25 04:12 Socolin