|
| 1 | +# Image Backend Server of It's MyPic |
| 2 | + |
| 3 | + |
| 4 | +## API Schemas |
| 5 | +* Static Image `/${season}/${episode}/${frame}.${format}` |
| 6 | + * `season`: String (`mygo`, `ave`, `ave-mujica`) |
| 7 | + * `episode`: String (`1-3`, `4`, `5`, ..., `13`) |
| 8 | + * `frame`: u32 |
| 9 | + * `format`: String (`jpg`, `jpeg`, `png`, `webp`) |
| 10 | +* Animated Image `/${season}/${episode}/${startFrame}-${endFrame}.${format}` |
| 11 | + * `season`: String (`mygo`, `ave`, `ave-mujica`) |
| 12 | + * `episode`: String (`1-3`, `4`, `5`, ..., `13`) |
| 13 | + * `startFrame`: u32 |
| 14 | + * `endFrame`: u32 (`endFrame` must greater than `startFrame`) |
| 15 | + * `format`: String (`gif`, `apng`, `png`, `webp`) |
| 16 | + * `gif`, `webp`: Limited in 120 frames (5 seconds) |
| 17 | + * `apng`, `png`: Limited in 240 frames (10 seconds) |
| 18 | +* (deprecated) Legacy Static Image `/${season}-${episode}_${frame}.${format}` |
| 19 | + * `season`: String (`mygo`, `ave`, `ave-mujica`) |
| 20 | + * `episode`: String (`1-3`, `4`, `5`, ..., `13`) |
| 21 | + * `frame`: u32 |
| 22 | + * `format`: String (`jpg`, `jpeg`, `png`, `webp`) |
| 23 | + |
| 24 | +## Roadmap |
| 25 | +* [ ] Improve Animated Image Performance |
0 commit comments