mirror of
https://github.com/itorr/one-last-image.git
synced 2026-01-02 20:06:03 +08:00
给 #9 测试用的 alert
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user