bughelp wantedsolution in issue
倉庫指標
- Star
- (13,218 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
Expected Behavior
The copied bmp file should be exactly the same as the original one.
Current Behavior
For some reason for this bmp file content gets moved/shifted. It does not happen for all the bmp files.
Failure Information (for bugs)
Steps to Reproduce
I've created minial reproducible repo:
git git@github.com:elderapo/jimp-bmp-bug.git
cd ./jimp-bmp-bug
yarn
yarn start
Screenshots

Context
- Jimp Version:
^0.8.4 - Operating System:
Ubuntu 14.04 - Node version:
v11.10.0,v12.10.0
Failure Logs
The loading system for bmp files seems to be broken. Exact same thing happens when reading bmp file from disk, buffer. Even when file is saved to a different format it still gets shifted.