Skip to content

Commit 86c7d2c

Browse files
committed
📝 Writing docs.
Tweak readme.md
1 parent d93c304 commit 86c7d2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# ![Spritesheet Logo](media/spritesheet-logo.png)
22

33
[![Package version](https://flat.badgen.net/npm/v/@pencil.js/spritesheet)](https://www.npmjs.com/package/@pencil.js/spritesheet)
4+
[![Package size](https://badgen.net/bundlephobia/minzip/@pencil.js/spritesheet)](https://bundlephobia.com/result?p=@pencil.js/spritesheet)
45

56
Pack a set of images into a single spritesheet along its json description file. ([CLI version](https://github.com/pencil-js/spritesheet-cli))
67

@@ -61,7 +62,7 @@ The returned JSON file is composed of two parts:
6162

6263
Each frames gives data about itself:
6364
- `frame` - The `x`, `y` position on the whole image and `w`, `h` for the size
64-
- `rotated` - Tell is the sprite have been rotated
65+
- `rotated` - Tell is the sprite have been rotated (not yet supported)
6566
- `trimmed` - Tell is the sprite have been cropped
6667
- `spriteSourceSize` - The relative `x`, `y` position and `w`, `h` size
6768
- `sourceSize` - The original `w`, `h` size

0 commit comments

Comments
 (0)