Refactor preprocessors module

This commit is contained in:
Surma
2018-08-01 12:32:29 +01:00
parent dce4fc70ac
commit c550fe9283
7 changed files with 63 additions and 70 deletions

View File

@@ -26,10 +26,11 @@ import {
encoders,
encodersSupported,
EncoderSupportMap,
PreprocessorState,
} from '../../codecs/encoders';
import { QuantizeOptions } from '../../codecs/imagequant/quantizer';
import { PreprocessorState } from '../../codecs/preprocessors';
const encoderOptionsComponentMap = {
[identity.type]: undefined,
[mozJPEG.type]: MozJpegEncoderOptions,