1472 Commits

Author SHA1 Message Date
atjn
1a891072c0 Fix broken links after libsquoosh release 2021-05-20 09:36:37 +02:00
atjn
720cb98872 [CLI] Handle subdirectories without failing 2021-05-20 09:12:29 +02:00
Surma
4e1dcb819c Release v0.2.1 of libSquoosh 2021-05-19 12:30:05 +01:00
Surma
c36f4bebb8 Update libSquoosh README after rename 2021-05-19 12:28:35 +01:00
Surma
c04bb54f0d Merge branch 'API' into dev 2021-05-19 12:23:07 +01:00
Surma
4890c56abb Publish v0.2.0 of @squoosh/lib 2021-05-19 12:22:50 +01:00
Surma
392aced394 Introduce libSquoosh 2021-05-19 12:15:00 +01:00
Surma
8bcaeb2f78 Simplify types a bit 2021-05-18 20:04:35 +01:00
Surma
c417bd0a7a Its working now 2021-05-18 20:02:43 +01:00
Surma
eb8204d69b Add a call-out to Web Codecs API 2021-05-18 19:53:39 +01:00
atjn
25754b91b7 Change 'encodedAs' to 'encodedWith' 2021-05-13 19:34:50 +02:00
atjn
875c24525b Upgrade commander to v7 2021-05-13 19:07:42 +02:00
atjn
50ed5febd3 Stick to the term 'preprocessor' 2021-05-13 16:53:15 +02:00
Ingvar Stepanyan
10c5082499 Add back a loader customization for full URL (#1016)
Emscripten uses dynamic `import(fullUrlOfTheMainJS)` in generated Workers.

It appears that upstream rollup-plugin-off-main-thread never handled this correctly, but we had a customization in Squoosh loader template that allowed those anyway, which I removed together with most other customizations in #1007, thus breaking Emscripten codecs.

This adds a hotfix back, but we need to fix this properly upstream too (TBD separately).
2021-05-13 15:48:23 +01:00
Jake Archibald
f0fb891498 Updating oxi, adding interlace option (#1014) 2021-05-13 14:22:19 +01:00
Ingvar Stepanyan
b9b6e57581 wasm-bindgen-rayon and new OMT plugin (#1007)
* WIP: wasm-bindgen-rayon and new OMT plugin

* Bump package-lock

* Make OMT work again

* Update year

* Restore accidental change

* Prevent minification of `nextDefineUri`

* Delay loading external deps

This gives inline `define` calls a chance to define dependencies for earlier `define` calls on the same page.

* Add comment
2021-05-13 13:50:31 +01:00
Jake Archibald
ff9dea465f Updating AVIF, and 'auto' SSIM option (#1008) 2021-05-10 18:56:33 +01:00
Jake Archibald
912c1fac08 Better DC pass (#1006) 2021-05-06 15:02:04 +01:00
atjn
ad0d46de3e Fix typo in README 2021-05-04 15:40:44 +02:00
Jake Archibald
efc89efba5 JXL decoding speed tier (#1001) 2021-05-04 13:16:54 +01:00
atjn
8ed50d8f0c Fix install command in README 2021-05-04 14:13:34 +02:00
atjn
b50402e3b3 Separate CLI and API 2021-05-04 12:57:48 +02:00
Luca Versari
df65f1a112 Update JPEG XL to latest. (#1000) 2021-05-04 11:47:19 +01:00
Jake Archibald
58c09ff740 Adding COOP+COEP headers to dev 2021-05-04 10:57:58 +01:00
Jake Archibald
33c0c3b034 Additional AVIF options (#987)
* Separate colour & alpha options for AVIF

* Adding broken noise synthesis

* Build files

* Updating build

* Changing speed default

* Remove old comment

* Better speed default
2021-04-29 11:19:24 +01:00
Surma
e900d33092 Fix alpha regression in resizer (#995) 2021-04-28 15:33:44 +01:00
Ingvar Stepanyan
650c662ffa Re-enable SIMD with new origin trial token (#985)
Not bothering with renewing for dev, since it's going to be in stable Chrome soon.
2021-04-06 14:13:30 +01:00
Jake Archibald
2bf0b904cd Don't listen for two-up keyboard shortcuts if in input (#979) 2021-03-23 13:04:15 +00:00
Ingvar Stepanyan
9d890a8fd6 Fix AVIF multithreading (#981) 2021-03-23 12:28:56 +00:00
Surma
914bff41c6 Merge pull request #972 from GoogleChromeLabs/png-decoder-colors
[cli] Handle all color types in png decoder
2021-03-11 16:10:45 +00:00
Surma
86c4271844 Merge branch 'dev' into png-decoder-colors 2021-03-11 16:04:51 +00:00
Ingvar Stepanyan
56beb6786a [cli] Handle all color types in png decoder
Add conversions for all color types in PNG decoder used in CLI. (While at it, also made few minor cleanups.)

Fixes #971.
2021-03-11 15:21:45 +00:00
Jake Archibald
ef77da9e96 Fix JXL mimetype (#970) 2021-03-10 14:56:59 +00:00
Jake Archibald
42cfbe11a1 Better AVIF options (#965)
* Better AVIF options

* Removing internal URL

* Remove AQ, add SSIM

* Better cast
2021-03-10 14:12:54 +00:00
Luca Versari
0874a3ba52 Update JPEG XL and support container format in mime sniffing. (#969) 2021-03-10 13:24:52 +00:00
Jake Archibald
7f6ee3204f Remove mt AVIF encoder for now (#964) 2021-03-03 12:02:43 +00:00
Surma
37d778e4da Merge pull request #963 from veluca93/jxl_uprev
Update JPEG XL.
2021-02-24 16:44:22 +00:00
Luca Versari
8f24c9b5ce Update JPEG XL.
This in particular fixes encoding with progressive enabled.
2021-02-24 16:38:22 +01:00
Surma
9d3401762e Merge pull request #962 from GoogleChromeLabs/butteraugli-fix 2021-02-22 18:07:33 +00:00
Surma
a783de618d Review 2021-02-22 18:05:26 +00:00
Surma
659d2b8277 Fix butteraugli for auto-optimizer 2021-02-22 17:58:15 +00:00
Surma
934ab9065a Merge pull request #957 from veluca93/jxl_v03
Bump jxl version and remove workaround for enc memory usage.
2021-02-11 14:50:44 +00:00
Luca Versari
029c2ebb83 Bump jxl version and remove workaround for enc memory usage. 2021-02-10 12:55:18 +01:00
Jake Archibald
dc40f84a65 Update stuff and keep new Typescript happy 2021-01-25 15:35:52 +00:00
Surma
2c0dd363d4 Merge pull request #949 from GoogleChromeLabs/RReverser-patch-1
Remove no-op variable in imagequant Makefile
2021-01-22 19:25:41 +00:00
Ingvar Stepanyan
e6916575b7 Remove no-op variable in imagequant Makefile
One more follow-up...
2021-01-22 15:30:41 +00:00
Jake Archibald
1c7486056d Avoid cache when updating SW, for now 2021-01-22 13:58:16 +00:00
Jake Archibald
8e8b75684d Remove caching headers for now 2021-01-22 13:51:30 +00:00
Ingvar Stepanyan
92ade727aa Fix browser version of imagequant (#947)
Fix Makefile compiling same file twice and overriding the correct browser version (ENVIRONMENT=$(ENVIRONMENT)) with Node.js one (ENVIRONMENT=node).

Looks like this was introduced by accident in 33d60658cd.

Fixes #946.
2021-01-22 13:13:18 +00:00
Ingvar Stepanyan
6117c9dd26 Update HQX to latest (#943)
I've played a bit and added a non-invasive change to the HQX - https://github.com/CryZe/wasmboy-rs/pull/1 - to work around the code size regression (https://github.com/rust-lang/rust/issues/74947) introduced in the latest Rust.

As a side benefit of the change, the build time also went down significantly and now takes only 1 minute altogether - including spawning Docker, fetching Cargo, building Wasm and optimising it with wasm-opt - instead of 15-20 minutes it took before.

P.S. h/t @CryZe for a very quick review & publish.
2021-01-22 12:27:44 +00:00