jimp-dev / bmp-ts

A pure typescript bmp encoder and decoder
MIT License
17 stars 6 forks source link

FIX decode error when image is bottom up #30

Open francoisp opened 1 year ago

francoisp commented 1 year ago

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

francoisp commented 12 months ago

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.