You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This results in the black pixels being loaded as transparent (RGBA of 0xffffff00) rather than black (0x000000ff). I verified this with jpeg.GetRow(y).GetAt(x).GetComponent(c) where y=31, x=63, c=(0, 1, 2, 3) -> (255, 255, 255, 0). This appears white when the alpha channel is stripped, rather than black, which is how everything else displays it.
The text was updated successfully, but these errors were encountered:
Version: https://www.nuget.org/packages/BitMiracle.LibJpeg.NET/1.5.324
I created a PNG with 16x16 blocks of Red, Green, Blue, White, Cyan, Magenta, Yellow, Black:
Then converted it to a CMYK JPEG with ImageMagick:
I then used the following code to convert it to a bitmap with BitMiracle LibJpeg.Net:
This results in the black pixels being loaded as transparent (RGBA of 0xffffff00) rather than black (0x000000ff). I verified this with
jpeg.GetRow(y).GetAt(x).GetComponent(c)
where y=31, x=63, c=(0, 1, 2, 3) -> (255, 255, 255, 0). This appears white when the alpha channel is stripped, rather than black, which is how everything else displays it.The text was updated successfully, but these errors were encountered: