image-beautifier 1.0.2 → 1.0.3
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/README.md +14 -0
- package/lib/image-beautifier.es.js +1201 -1013
- package/lib/style.css +1 -1
- package/package.json +8 -2
package/README.md
CHANGED
|
@@ -10,11 +10,25 @@
|
|
|
10
10
|
npm install image-beautifier
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
## 例子
|
|
14
|
+
|
|
15
|
+
React 组件
|
|
16
|
+
|
|
17
|
+
```jsx
|
|
18
|
+
import { ImageBeautifier } from 'image-beautifier';
|
|
19
|
+
import 'image-beautifier/lib/style.css';
|
|
20
|
+
|
|
21
|
+
function App() {
|
|
22
|
+
return (<ImageBeautifier />);
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
13
26
|
- 用于截图美化
|
|
14
27
|
- 图片批注
|
|
15
28
|
- 修改尺寸,预设各个社媒平台发布的尺寸模板
|
|
16
29
|
- 方框,圆圈,箭头,Emoji表情等各种尺寸的批注
|
|
17
30
|
- 添加水印
|
|
31
|
+
- 画布任意缩放和拖拉
|
|
18
32
|
|
|
19
33
|
|
|
20
34
|
TODO:
|