Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit738e445

Browse files
committed
fix: typo
1 parent397ae34 commit738e445

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

‎.gitignore‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,5 @@ android/keystores/debug.keystore
6161

6262
# generated by bob
6363
lib/
64-
**prebuild.log
65-
example/ios/tmp.xcconfig
66-
67-
src/type.ts
68-
cpp/crypto.cpp
69-
android/src/main/java/com/gifsicle/PrivateKey.java
7064
3rd_party
7165
vendor

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ Compresses a GIF located at the specified URI using the provided options.
122122

123123
-`uri` (String): The URI of the GIF to compress.
124124
-`options` (Object): The options for compression. Available options are:
125-
-`lossy` (Number): Alter image colors to shrink output file size at the cost of artifacts and noise.`default=200`
126-
-`optimize` (Number): Optimize output GIFs.`default=3`
127-
-`colors` (Number): Reduce the number of colors to N.`default=255`
125+
-`lossy` (Number): Alter image colors to shrink output file size at the cost of artifacts and noise.`default=200` range`[0-200]`
126+
-`optimize` (Number): Optimize output GIFs.`default=3` range`[1-3]`
127+
-`colors` (Number): Reduce the number of colors to N.`default=255` rage[0-255]
128128
-`scale_x` (Number): Scale the image in the x-axis.
129129
-`scale_y` (Number): Scale the image in the y-axis.
130130
-`height` (Number): Resize the output GIF height.

‎src/type.ts‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
// this file is auto generate, please do not modify
2-
exporttypeKeyTurboType={[key:string]:string};
1+
typeCompressGifOptions={
2+
lossy?:number;// rage [0-200]
3+
colors?:number;// rage [0-255]
4+
optimize?:number;// rage [1-3]
5+
height?:number;
6+
width?:number;
7+
scale_x?:number;
8+
scale_y?:number;
9+
};
310

4-
exporttypeKeyTurboSecuredType={[key:string]:string};
11+
exporttypegifsicleType={
12+
compressGif:(uri:string,options?:CompressGifOptions)=>Promise<string>;
13+
};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp