@vvfx/sdk 0.0.0-alpha.38 → 0.0.0-alpha.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.global.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -55,6 +55,14 @@ declare const MEDIA_TYPE: {
|
|
|
55
55
|
readonly GIF: "GIF";
|
|
56
56
|
readonly AlphaMaskVideo: "AlphaMaskVideo";
|
|
57
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* GIF 压缩参数
|
|
60
|
+
* 核心通过参数 flags + palettegen + paletteuse 实现
|
|
61
|
+
* highest: lanczos + max_colors=256 + dither=bayer
|
|
62
|
+
* high: bicubic + max_colors=200 + dither=bayer
|
|
63
|
+
* medium: bilinear + max_colors=64 + dither=bayer
|
|
64
|
+
* low: neighbor + max_colors=32 + dither=none
|
|
65
|
+
*/
|
|
58
66
|
declare const QUALITY_TO_FFMPEG_ARGS: {
|
|
59
67
|
highest: string;
|
|
60
68
|
high: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -55,6 +55,14 @@ declare const MEDIA_TYPE: {
|
|
|
55
55
|
readonly GIF: "GIF";
|
|
56
56
|
readonly AlphaMaskVideo: "AlphaMaskVideo";
|
|
57
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* GIF 压缩参数
|
|
60
|
+
* 核心通过参数 flags + palettegen + paletteuse 实现
|
|
61
|
+
* highest: lanczos + max_colors=256 + dither=bayer
|
|
62
|
+
* high: bicubic + max_colors=200 + dither=bayer
|
|
63
|
+
* medium: bilinear + max_colors=64 + dither=bayer
|
|
64
|
+
* low: neighbor + max_colors=32 + dither=none
|
|
65
|
+
*/
|
|
58
66
|
declare const QUALITY_TO_FFMPEG_ARGS: {
|
|
59
67
|
highest: string;
|
|
60
68
|
high: string;
|