Ingvar Stepanyan
ba0df8e2ff
Revert "Remove SIMD for now ( #1025 )"
...
This reverts commit f779e13bc8 .
2021-05-25 12:04:10 +00:00
Surma
128096afd9
Make TS happy
2021-05-24 16:29:12 +01:00
Surma
58661078e2
Update src/client/lazy-app/util/index.ts
...
Co-authored-by: Jake Archibald <jaffathecake@gmail.com >
2021-05-24 16:26:20 +01:00
Surma
cbfa503fcb
Update src/client/lazy-app/util/index.ts
...
Co-authored-by: Jake Archibald <jaffathecake@gmail.com >
2021-05-24 16:26:05 +01:00
Jake Archibald
96b6dc8e6e
Merge branch 'dev' into web-codecs
2021-05-24 16:06:09 +01:00
Surma
4033d1c965
Move logic to builtinDecode
2021-05-24 15:39:38 +01:00
Ingvar Stepanyan
f779e13bc8
Remove SIMD for now ( #1025 )
...
This is by no means a proper fix, but Chrome 91 (stable tomorrow) brings some breaking changes to SIMD, and I'd rather disable SIMD for now to avoid breaking Squoosh altogether once it hits stable, and work on a proper fix in a separate branch.
2021-05-24 12:50:48 +01:00
Surma
2f00fe2b1b
I’m an idiot
2021-05-21 15:14:22 +01:00
Surma
118885cd26
Fall through to built-in decoding
2021-05-21 15:13:00 +01:00
Jake Archibald
af80643809
Remove redundant code ( #1024 )
2021-05-21 11:16:47 +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
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
efc89efba5
JXL decoding speed tier ( #1001 )
2021-05-04 13:16:54 +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
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
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
Jake Archibald
dc40f84a65
Update stuff and keep new Typescript happy
2021-01-25 15:35:52 +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
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
Adam Argyle
5d0c856fa0
match manifest.json ( #936 )
...
removes the orange for the hotpink
2021-01-15 09:00:13 +00:00
Surma
f2a947df9e
Merge branch 'dev' into keyboard-shortcuts
2020-12-15 12:01:04 +00:00
Jake Archibald
3338808f17
Make vector the default resize type for vector images
2020-12-15 10:42:18 +00:00
Sámal Rasmussen
b958d46086
Add keyboard shortcuts for moving the split view separator
2020-12-10 19:58:10 +00:00
Jake Archibald
adb2f7ed50
Use real font. Fixes #895
2020-12-10 10:45:43 +00:00
Jake Archibald
d6de741ddc
Copying over old sw-bridge
...
This is from the webpack build, but the old build failed to make this file work offline. It's the file that handles the "update available" stuff, which is why users using the old version aren't seeing the UI update. We can remove this file once everyone's off the old version.
2020-12-10 10:33:56 +00:00
Jake Archibald
5d691af8a1
Simpler fallback
2020-12-09 22:03:34 +00:00
Jake Archibald
722f1c806c
Correct service worker name
2020-12-09 21:54:08 +00:00
Jake Archibald
c6e6042726
Merge branch 'plan-b' into dev
2020-12-09 17:33:54 +00:00
Ingvar Stepanyan
94b9d08719
Update SIMD token ( #889 )
2020-12-09 16:26:30 +00:00
Jake Archibald
9de95f74fe
Copy setting button
2020-12-09 14:36:50 +00:00
Jake Archibald
21a8f62dcc
Styled viewport controls & cli copy
2020-12-09 14:28:32 +00:00
Jake Archibald
9062a75541
Cache correct assets ( #887 )
...
* Cache correct assets
* Update lib/entry-data-plugin.js
Co-authored-by: Surma <surma@surma.dev >
* Actually commit the fix this time
Co-authored-by: Surma <surma@surma.dev >
2020-12-09 12:20:14 +00:00
Jake Archibald
fec826b106
(Almost the) rest of the redesign ( #880 )
...
* Load demo img
* two-up styles
* Back button
* Button size tweak
* Move back btn
* Move options and back button into a single grid
* Simpler max height
* Responsive grid
* Feed index into options
* Option heading themes
* More option styles
* Changing checkbox position
* Theme range input & use transforms
* Range input underline theme
* Checkbox color
* Add toggle
* Reorder
* Arrow revealer
* Round two-up thumb
* Don't bundle CSS urls starting #
* Results in progress
* Fix Safari bugs
* Download blobs
* Loading spinner
* Hook up download button
* Different style for original image
* Mobile design for results
* Remove demo auto-loader
* Remove redundant colors
* Sticky headings
2020-12-09 11:47:23 +00:00
Surma
12889d9d50
Add node version of MozJPEG encoder & decoder ( #886 )
...
* Add node version of MozJPEG
* Update paths for MozJPEG encoder
2020-12-09 11:44:46 +00:00
Surma
d8bd12fc6a
Merge remote-tracking branch 'origin/dev' into visdf
2020-12-05 17:26:02 +00:00
Jake Archibald
3abc770053
Site isolation headers & redirect fix ( #866 )
...
* Fix redirect behaviour
* Generate headers file
* Specific redirect
* Another try
* And again
* Use dedent
2020-12-05 11:23:32 +00:00
Jake Archibald
a3b341f813
New homepage ( #861 )
...
* Paste button
* Logo and animated blobs
* Predictable initial blob position
* Initial blob shape
* Update canvas on resize if not updating every frame
* lol
* Get styles from CSS
* Background blobs
* Fade into the center
* Get initial focus
* Pause time while page is hidden
* Footer
* Optimise amount of initial CSS
* More CSS optimisation
* Install button
* Home page with demo loading
* Tweak size
* Replace thumbnails
* Responsive demo section
* Responsive main section
* Remove debug stuff
* Fix prerender SVG size
* Changes from feedback
* Blob nudges (#872 )
* more smaller blobs
* less blobs that are practically invisible
* more dynamic speed range and stronger gravity
* Reverting resize observer change
The content rect is different to getBoundingClientRect
Co-authored-by: Adam Argyle <atom@argyleink.com >
2020-12-05 11:21:33 +00:00
Ingvar Stepanyan
58a6abffbb
Threads and threads+SIMD builds for JPEG-XL ( #865 )
2020-12-02 15:40:16 +00:00
Ingvar Stepanyan
869d3f7732
Update WebP & WebP2 to latest upstream
...
Includes renaming "speed" to "effort" in WebP2.
2020-12-01 14:36:30 +00:00
Ingvar Stepanyan
19fab33d3c
Update webpEncode.ts
2020-12-01 14:36:30 +00:00