Deduplicate example image

This commit is contained in:
Surma
2018-05-15 17:14:29 +01:00
parent 6249ca8ac8
commit 1b4526ca1e
4 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

View File

@@ -27,7 +27,7 @@
get_result_pointer: Module.cwrap('get_result_pointer', 'number', []),
get_result_size: Module.cwrap('get_result_size', 'number', []),
};
const image = await loadImage('/example.png');
const image = await loadImage('../example.png');
const p = api.create_buffer(image.width, image.height);
Module.HEAP8.set(image.data, p);
api.encode(p, image.width, image.height, 2);

View File

@@ -27,7 +27,7 @@
get_result_pointer: Module.cwrap('get_result_pointer', 'number', []),
get_result_size: Module.cwrap('get_result_size', 'number', []),
};
const image = await loadImage('/example.png');
const image = await loadImage('../example.png');
const p = api.create_buffer(image.width, image.height);
Module.HEAP8.set(image.data, p);
api.encode(p, image.width, image.height, 2);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB