Make images smaller using best-in-class codecs, right in the browser.
JavaScript
Remove old wasm files
Surmadd895f026bcd
diff --git a/codecs/.DS_Store b/codecs/.DS_Storenew file mode 100644index 00000000..0dc4c6a9Binary files /dev/null and b/codecs/.DS_Store differdiff --git a/codecs/hqx/build.sh b/codecs/hqx/build.shindex 6f62fc8a..fe163c2b 100755--- a/codecs/hqx/build.sh+++ b/codecs/hqx/build.sh@@ -10,8 +10,8 @@ echo "============================================="wasm-strip pkg/squooshhqx_bg.wasmecho "Optimising Wasm so it doesn't break Chrome (this takes like 10-15mins. get a cup of tea)"echo "Once https://crbug.com/974804 is fixed, we can remove this step"- wasm-opt -Os --no-validation -o pkg/squooshhqx_bg.wasm pkg/squooshhqx_bg.wasmrm pkg/.gitignore+ wasm-opt -Os --no-validation -o pkg/squooshhqx_bg.wasm pkg/squooshhqx_bg.wasm)echo "============================================="echo "Compiling wasm done"diff --git a/codecs/hqx/pkg/squoosh_hqx.d.ts b/codecs/hqx/pkg/squoosh_hqx.d.tsdeleted file mode 100644index 8d8f5f2e..00000000--- a/codecs/hqx/pkg/squoosh_hqx.d.ts+++ /dev/null@@ -1,10 +0,0 @@-/* tslint:disable */-/* eslint-disable */-/**-* @param {Uint32Array} input_image-* @param {number} input_width-* @param {number} input_height-* @param {number} factor-* @returns {Uint32Array}-*/-export function resize(input_image: Uint32Array, input_width: number, input_height: number, factor: number): Uint32Array;diff --git a/codecs/hqx/pkg/squoosh_hqx.js b/codecs/hqx/pkg/squoosh_hqx.jsdeleted file mode 100644index 7e20704e..00000000--- a/codecs/hqx/pkg/squoosh_hqx.js+++ /dev/null@@ -1,2 +0,0 @@-import * as wasm from "./squoosh_hqx_bg.wasm";-export * from "./squoosh_hqx_bg.js";\ No newline at end of filediff --git a/codecs/hqx/pkg/squoosh_hqx_bg.d.ts b/codecs/hqx/pkg/squoosh_hqx_bg.d.tsdeleted file mode 100644index 9cb7574d..00000000--- a/codecs/hqx/pkg/squoosh_hqx_bg.d.ts+++ /dev/null@@ -1,6 +0,0 @@-/* tslint:disable */-/* eslint-disable */-export const memory: WebAssembly.Memory;-export function resize(a: number, b: number, c: number, d: number, e: number, f: number): void;-export function __wbindgen_malloc(a: number): number;-export function __wbindgen_free(a: number, b: number): void;diff --git a/codecs/hqx/pkg/squoosh_hqx_bg.wasm b/codecs/hqx/pkg/squoosh_hqx_bg.wasmdeleted file mode 100644index 847ff141..00000000Binary files a/codecs/hqx/pkg/squoosh_hqx_bg.wasm and /dev/null differdiff --git a/codecs/hqx/pkg/squoosh_hqx_bg.js b/codecs/hqx/pkg/squooshhqx_bg.jssimilarity index 96%rename from codecs/hqx/pkg/squoosh_hqx_bg.jsrename to codecs/hqx/pkg/squooshhqx_bg.jsindex c2201da3..d3f586a6 100644--- a/codecs/hqx/pkg/squoosh_hqx_bg.js+++ b/codecs/hqx/pkg/squooshhqx_bg.js@@ -1,4 +1,4 @@-import * as wasm from './squoosh_hqx_bg.wasm';+import * as wasm from './squooshhqx_bg.wasm';let cachegetUint32Memory0 = null;function getUint32Memory0() {diff --git a/codecs/oxipng/.DS_Store b/codecs/oxipng/.DS_Storenew file mode 100644index 00000000..069d0f12Binary files /dev/null and b/codecs/oxipng/.DS_Store differ