mirror of
https://github.com/ColonelParrot/jscanify.git
synced 2025-12-30 22:31:52 +00:00
README: update extractPaper doc
This commit is contained in:
parent
6bd6001cf4
commit
2ca70c5c9d
@ -73,9 +73,8 @@ const scanner = new jscanify();
|
||||
const paperWidth = 500;
|
||||
const paperHeight = 1000;
|
||||
image.onload = function () {
|
||||
scanner.extractPaper(image, paperWidth, paperHeight, (resultCanvas) => {
|
||||
const resultCanvas = scanner.extractPaper(image, paperWidth, paperHeight);
|
||||
document.body.appendChild(resultCanvas);
|
||||
});
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user