Commit Graph

1478 Commits

Author SHA1 Message Date
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
François Beaufort
a3be343959 Add manifest fields for PWA install bottom sheet (#933)
* Add manifest fields for PWA install bottom sheet

* Switch to webp

* Revert "Switch to webp"

This reverts commit c60d0d9629.

* Try JPEG

* Use mime-type library

* Automate image size

Co-authored-by: Jake Archibald <jaffathecake@gmail.com>
2021-01-21 09:45:52 +00:00
Surma
39c6be41df Merge pull request #937 from akrisrn/patch-1
Update CLI README.md
2021-01-20 12:34:42 +00:00
Surma
5603f2d6e7 Merge branch 'dev' into patch-1 2021-01-20 12:31:46 +00:00
Surma
0d72f652c5 Merge pull request #940 from GoogleChromeLabs/reproducible-mozjpeg
Make MozJPEG builds reproducible
2021-01-19 16:56:53 +00:00
Ingvar Stepanyan
7ce0c8a4fc Make MozJPEG builds reproducible
I was wondering why MozJPEG produces different Wasm binaries even when nothing is changed.

After looking at the binary diffs, I think I have figured & fixed the reason.
2021-01-19 13:21:00 +00:00
Ingvar Stepanyan
30528c2330 Disable filesystem in C++ codecs (#938) 2021-01-18 12:59:40 +00:00
Ingvar Stepanyan
b4329c5bed Rebuild codecs (#935) 2021-01-18 12:29:38 +00:00
AkrISrn
5845e566da Update README.md 2021-01-16 01:24:27 +08:00
Adam Argyle
5d0c856fa0 match manifest.json (#936)
removes the orange for the hotpink
2021-01-15 09:00:13 +00:00
Surma
ff25dd81f8 Merge pull request #931 from GoogleChromeLabs/unaligned_access_is_fast
Use UNALIGNED_ACCESS_IS_FAST for OxiPNG -> libdeflate
2021-01-13 13:16:45 +00:00
Ingvar Stepanyan
c7d156e8d7 Use UNALIGNED_ACCESS_IS_FAST for OxiPNG -> libdeflate
I only observed ~10-15% increase in perf on single-threaded bench, which isn't much, but no harm in adding flag anyway.

Fixes #833.
2021-01-13 13:07:01 +00:00
Surma
02532b5a31 Merge pull request #930 from GoogleChromeLabs/wp2-update
Update WP2
2021-01-07 20:57:29 +00:00
Surma
c5c95254f0 Update WP2 2021-01-07 17:46:54 +00:00
Ingvar Stepanyan
dfa7695a97 Switch to upstream freestanding support (#864)
Co-authored-by: Jake Archibald <jaffathecake@gmail.com>
2021-01-06 17:16:10 +00:00
Surma
7095ed2f7a Merge pull request #911 from aethelz/fix-permissions 2021-01-05 16:52:25 +00:00
Surma
61a66c4ed4 Merge branch 'dev' into fix-permissions 2021-01-05 16:40:57 +00:00
Surma
c6188c8846 Merge pull request #927 from veluca93/update_jxl_v02 2021-01-05 16:40:39 +00:00
Surma
ae583f7581 Merge branch 'dev' into update_jxl_v02 2021-01-05 16:37:42 +00:00
Surma
22a948267c Rebuild WebP codec 2021-01-05 16:23:46 +00:00
Surma
35f5ad6e2b Merge branch 'dev' into fix-permissions 2021-01-05 16:22:10 +00:00
Surma
34d3c13b5d Merge pull request #910 from GoogleChromeLabs/banding-fix 2021-01-05 15:32:14 +00:00
Surma
dba8f097d3 Merge remote-tracking branch 'origin/dev' into banding-fix 2021-01-05 15:30:07 +00:00
Surma
36293d756b Move variable assignment out of loop 2021-01-05 15:29:57 +00:00
Surma
ad07584730 Update codecs/resize/src/lib.rs
Co-authored-by: Ingvar Stepanyan <me@rreverser.com>
2021-01-05 14:50:08 +00:00
Surma
e260994600 Update codecs/resize/src/lib.rs 2021-01-05 14:49:41 +00:00
Surma
f55e4cf9a8 Update codecs/resize/src/lib.rs
Co-authored-by: Ingvar Stepanyan <me@rreverser.com>
2021-01-05 14:49:08 +00:00
Ingvar Stepanyan
a1ea6223ac Merge branch 'dev' into fix-permissions 2021-01-05 14:38:35 +00:00
Surma
e7e205c326 Simplify WorkerPool joining (closes #925) 2021-01-05 14:26:26 +00:00
Surma
990a43b733 Merge pull request #923 from DetachHead/dev 2021-01-05 12:51:59 +00:00
Surma
1a40c57876 Merge branch 'dev' into banding-fix 2021-01-05 12:34:29 +00:00
Luca Versari
e8afe408f1 Update JPEG XL to v0.2 (format freeze). 2020-12-31 00:05:25 +01:00
DetachHead
9352569852 remove outdated comment 2020-12-27 16:01:02 +10:00
DetachHead
10d648c28d check if path is directory using lstat instead of requiring trailing slash 2020-12-27 15:59:56 +10:00
DetachHead
1e64e52298 fix reading directories 2020-12-26 23:26:27 +10:00
DetachHead
733b470f1f allow passing entire directories as input 2020-12-26 22:56:23 +10:00
Surma
e72dcd6c6e Merge pull request #917 from dtinth/patch-1
Fix wrong development script in README
2020-12-19 18:30:44 +00:00
Thai Pangsakulyanont
62b4d39128 Fix wrong development script in README 2020-12-19 05:46:16 +07:00
Surma
d338e8a048 Merge pull request #813 from samal-rasmussen/keyboard-shortcuts 2020-12-15 12:04:17 +00:00
Surma
f2a947df9e Merge branch 'dev' into keyboard-shortcuts 2020-12-15 12:01:04 +00:00
Surma
3ec55b0a03 Merge pull request #913 from GoogleChromeLabs/default-resize-type
Make vector the default resize type for vector images
2020-12-15 11:53:05 +00:00
Jake Archibald
3338808f17 Make vector the default resize type for vector images 2020-12-15 10:42:18 +00:00
Eugene
5bdba43b33 Fix oxipng build script permissions 2020-12-13 20:18:33 +03:00
Surma
c63120d4ce Minor cleanup 2020-12-13 16:36:00 +00:00
Surma
405dd1cdfa Fix banding from linear RGB color space conversion 2020-12-13 16:27:59 +00:00