FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

FIX decode error when image is bottom up by francoisp · Pull Request #30 · jimp-dev/bmp-ts · GitHub

FIX decode error when image is bottom up - #30

Open
francoisp wants to merge 1 commit into
jimp-dev:masterfrom
francoisp:master
Open

FIX decode error when image is bottom up#30
francoisp wants to merge 1 commit into
jimp-dev:masterfrom
francoisp:master

Conversation

Copy link
Copy Markdown
Contributor

small bugfix, when a BMP image is bottom out of jimp getBufferAsync, the height is a negative value. Also added function exports, and BTW the npm package for 1.0.4 is broken

Copy link
Copy Markdown
Contributor Author

Yeah noticed that too, I have to merge the code in a lib for now and fiddle with webpack. I also fixed a small bug when orientation is bottom down: https://github.com/francoisp/bmp-ts. cheers.

Copy link
Copy Markdown

Thanks for the bottom-up fix work in this PR.

In the maintained fork this area is covered and released, including bottom-up/top-down decode handling and fixture-backed tests:

Happy to help with a backportable patch if upstream maintenance resumes.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL