Skip to content

Commit

Permalink
Fixes 1j01#323
Browse files Browse the repository at this point in the history
  • Loading branch information
adzierzanowski committed Aug 4, 2023
1 parent 12a90c6 commit a0866f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bmp.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ class BmpDecoder {
});
}
scanImage(padding = 0, width = this.width, processPixel) {
this.pos = this.offset;
for (let y = this.height - 1; y >= 0; y--) {
const line = this.bottomUp ? y : this.height - 1 - y;
for (let x = 0; x < width; x++) {
Expand Down

0 comments on commit a0866f4

Please sign in to comment.