Bug in BMP Decoding for 256x256 icons: Incorrect width and height in bitmap header · Issue #4 · fcjr/geticon · GitHub
More Web Proxy on the site http://driver.im/
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
I've encountered an issue when decoding BMP images for icons with a 256x256 resolution. It appears that the library does not handle icons of this size correctly, result is an empty image.
For icons with a 256x256 resolution, the library sets the bmpHeader.Width and bmpHeader.Height values to 0 due to the ICO format's convention of using 0 to represent 256. This leads to an invalid BMP header being generated, as the width and height are set to 0, causing the decoded image to be empty.
Hello,
I've encountered an issue when decoding BMP images for icons with a 256x256 resolution. It appears that the library does not handle icons of this size correctly, result is an empty image.
For icons with a 256x256 resolution, the library sets the bmpHeader.Width and bmpHeader.Height values to 0 due to the ICO format's convention of using 0 to represent 256. This leads to an invalid BMP header being generated, as the width and height are set to 0, causing the decoded image to be empty.
Steps to Reproduce:
Attempt to get icon from JetBrains Goland executable file
Thank you
95C0 The text was updated successfully, but these errors were encountered: