Simon VDB
44dd2ee808
Fix typo
2018-11-15 22:02:11 +01:00
Jake Archibald
f396a5b784
MozJPEG chroma subsampling and quality ( #235 )
...
* Adding chroma subsampling for mozjpeg
* Adding separate chroma quality.
* Preact sometimes removes the inline styles, this fixes it.
* Simplifying chroma subsample
* Adding comments
2018-11-06 13:46:52 +00:00
Jake Archibald
43def798e1
Two workers & worker termination ( #198 )
...
* Refactoring codecs
* Plugging in new processor
* Fixing decorator
* MozJPEG free issue
* Better worker aborting, and terminate workers that aren't used for 10 seconds
* Better comment
* Ooops, half-typed comment
* Uncommenting problematic line
* Surma fixed it!
* Abstracting WASM initialisation
* Better comment
* Don't need this.
* Adding ticket
* noInitalRun
* Reverting MozJPEG issue demo
* Making a const for worker timeout
* Inline docs
* Bail early rather than nesting
* Addressing nits
2018-10-28 09:17:43 +00:00
Surma
49b40b1c3e
Remove virtual files before running ( fixes #217 ) ( #220 )
2018-10-19 12:07:01 +01:00
Surma
f335246673
Use mozjpeg function to free result ( #207 )
2018-10-14 14:10:21 +01:00
Surma
577c77cc30
Codecs cleanup ( #189 )
...
* Update imagequant processor
* Update mozjpeg encoder
* Update optipng encoder
* Update webp decoder
* Update webp encoder
* Remove old codec build tasks
* Add warning about docker image updates
2018-10-12 10:53:33 +01:00
Surma
1b630a092f
Dockerize mozjpeg ( #169 )
...
* Dockerize mozjpeg build process
* Update README
2018-09-26 12:31:26 +01:00
Surma
54ad30a7ed
Optipng ( #156 )
...
* omg it’s compiling
* example actually works
* Expose compression level options
* Disable crypto and path module emulation in webpack
* Update README
* Remove small image
* Use -O3 on optipng
* Free memory after copy
* Handle unexpected file reader return types
* Rename level label to effort
2018-09-04 16:49:45 +01:00
Surma
e3b1b08424
Make WebP decoder use memory views ( #145 )
...
* Make WebP decoder use memory views
* Update webp_dec README
* Port quantizer to memory views as well
2018-08-21 13:29:53 +01:00
Jake Archibald
8006a1a5e7
Memory view rather than pointers ( #144 ). Part of #141 .
...
* Returning an object seems to work well
* This doesn't work
* This does!
* Better cast?
* Updating usage in Squoosh
2018-08-21 09:27:04 +01:00
Jake Archibald
1ae65dd4a1
Mozjpeg opts ( #140 )
...
* Switching to embind
* Adding options to mozjpeg wasm
* Updating packages
* Ditching enum - causing more problems than it's worth
* Adding mozjpeg options UI
* Forgot about this enum
* Bools just work
2018-08-17 16:25:28 +01:00
Jake Archibald
ef4094885e
Easter egg ( #123 )
...
* lol zx quant
* Adding ZX option
* Improving colour selection so we don't end up with the same colour twice. Also fixing a bug with the colour conflict resolution.
* Putting it behind a konami code
* Better comments
* Adding comment
* Removing unnecessary malloc.
2018-08-06 12:42:23 +01:00
Surma
dce4fc70ac
Clean up imagquant codec
2018-08-01 12:19:44 +01:00
Surma
b3f3ecbf28
Actually respect numColors lol
2018-07-31 12:46:32 +01:00
Surma
9d5ad83ff8
Transpile libimagequant
2018-07-30 15:51:57 +01:00
Jake Archibald
f2f467ecb8
WebP encode options ( #110 )
...
* Flailing
* Holy shit struct binding
* Options in the encoder!
* Integrating webp options
* Addressing feedback
* This isn't needed anymore
2018-07-27 14:06:45 +01:00
Surma
790a5b580d
Set up decoder infrastructure
2018-07-20 10:56:36 +01:00
Jake Archibald
cc9d01a9ab
Basic webp integration ( #103 )
2018-07-17 10:37:42 +01:00
Paul Kinlan
7c220b1a92
Adding in Drag and Drop support to fix #45 ( #56 )
...
* Merging file drop
* Fixing double drop
2018-06-29 16:37:48 +01:00
Surma
695bbed12b
Update webp to v1.0.0
2018-06-14 13:32:05 +01:00
Surma
6a6d478f77
Commit webp decoder binaries
2018-06-14 13:29:11 +01:00
Surma
d75a3aca9b
Merge pull request #50 from GoogleChromeLabs/webp-dec
...
Decoder for webp
2018-06-14 13:25:49 +01:00
Surma
91945da5ae
Add documentation
2018-06-13 23:44:46 +01:00
Surma
00e73daabd
Decoder for webp
2018-06-13 23:40:24 +01:00
Surma
850a019212
Update README with dependencies
2018-05-29 15:39:46 +02:00
Surma
9c0e0b683e
Add codec binaries
2018-05-29 15:37:27 +02:00
Jason Miller
638c57b6fe
Fix codec integration (builds and runs on chromebook!)
2018-05-23 01:00:48 +00:00
Surma
1533728f59
Add types to module initialize func
2018-05-21 13:34:42 +01:00
Surma
c2e2a1a0b6
Succesfully load wasm file via webpack
2018-05-17 16:04:56 +01:00
Surma
7edb7f0de8
Wrangling TypeScript and webpack to work with Emscripten wasm stuff
2018-05-17 11:24:40 +01:00
Surma
1b4526ca1e
Deduplicate example image
2018-05-15 17:14:29 +01:00
Surma
6249ca8ac8
Add examples and codec-specific documentation
2018-05-15 16:22:23 +01:00
Surma
03a6716745
Generate proper version number for mozjpeg
2018-05-15 15:16:02 +01:00
Surma
ddf8409127
Properly split encoder and decoder
2018-05-15 13:23:41 +01:00
Surma
953a0c9124
Basic codec setup
2018-05-14 13:22:20 +01:00