Skip to content

Commit

Permalink
#9 测试用的 alert
Browse files Browse the repository at this point in the history
  • Loading branch information
itorr committed Aug 14, 2022
1 parent 5efa5dc commit 48604b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions html/louvre.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ const louvre = async ({img, outputCanvas, config, callback}) => {

let pixelData = pixel.data;

// 测试图像数据读取正常与否
// alert(pixel.data.slice(0,10);


for (let i = 0; i < pixelData.length; i += 4) {
// let yuv = rgb2yuv(
Expand Down

0 comments on commit 48604b9

Please sign in to comment.