* Add sRGB -> RGB conversion before resize
* Add clamping for color space conversions
* Clip for demultiplication as well
* Fixing linear <-> srgb conversion
* Update benchmark
* Decouple srgb calculations
* Generate lookup tables
* Update src/codecs/resize/options.tsx
* Defaulting on, renaming, removing redundant state
* Implement alpha premultiplication
* Add benchmark to resize
* Only display "Premultiply alpha" if it's one of the rust resize types.
* Add comment about division by zero
* Update dependency typescript to v3.3.1
* Fix trailing commas for function calls
* Reverting trailing comma change
* Avoiding trailing comma rule for imports
* I never know what the right thing to do is
* lockfile
* Add a serviceworker
* rename + fix random extra character
* Fixing worker typings
* Fixing types properly this time.
* Once of those rare cases where this matters.
* Naming the things.
* Move registration to the app (so we can use snackbar later)
* Moving SW plugin later so it picks up things like HTML
* MVP service worker
* Two stage-service worker
* Fix prerendering by conditionally awaiting Custom Elements polyfill.
* Fix icon 404's
* add doc comment to autoswplugin
* Fix type
* Adding chroma subsampling for mozjpeg
* Adding separate chroma quality.
* Preact sometimes removes the inline styles, this fixes it.
* Simplifying chroma subsample
* Adding comments
* wip
* Commenting stuff to keep the build happy
* Revealing sections
* Custom select elements & more form work
* Range input styles
* Text fields with inputs do the right thing
* Safari & Firefox fixes
* Large compress select
* oops
* MozJPEG options updated
* OptPNG options
* These asserts weren't true
* Generic options
* WebP options
* Hiding "edit" when "original image"
* Download icon
* Copy setting button - still not happy with this
* Progress indicator
* Loading icon enter/exit anim
* Preventing controls going under options
* Ahh so that's what was causing scrolling
* Ahh so that's what was causing outlines
* Simplifying range styles and fixing cross-browser
* Processing custom element styles
* Get precision from step by default
* I don't know how or when this happened.
* Don't need that many steps
* Avoid having an element that covers the pinch zoom
* Preventing overlap with zoom controls
* Prevent ts warning
* Fixing spinner position
* Simplifying FileSize
* Splitting main part of app out of the main bundle.
Also improving the transition from intro to compressor.
* Showing error if app fails to load.
* lol these aren't async
* Please don't tell anyone I did this
* Spinner if user selects a file before the app has loaded. (#208)
* Allow loading SVG. Fixes#138.
I also made the resizer vector-aware, so you can resize the image larger & stay sharp.
* Handling SVG without width/height set.
* Simplifying maths
* Doh, case sensitive
* 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
* 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.