Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
Pastoro committed Jun 14, 2024
1 parent 3099263 commit c6cf92f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ Extracting one 64x64 tile from the below tilesheet:
const myPNG = await new png(evt);
const decompressedData = await myPNG.decompressIDATData();
const unfilteredData = myPNG.reverseFiltering(decompressedData);
for (let i = 0; i < 64;i++){
const subImage = myPNG.subImage(unfilteredData, { x: 64, y: 64 }, { xMargin: 0, yMargin: 0 });
}
}
```

Expand Down

0 comments on commit c6cf92f

Please sign in to comment.