koishi-plugin-gif-reverse
TypeScript icon, indicating that this package has built-in type declarations

1.6.2 • Public • Published

koishi-plugin-gif-reverse

npm

位置 仓库地址
npm 包 https://www.npmjs.com/package/koishi-plugin-gif-reverse
idranme 仓库 https://github.com/idranme/koishi-plugin-gif-reverse
shangxueink 发布仓库 https://github.com/shangxueink/koishi-shangxue-apps/blob/main/plugins/gif-reverse

处理 GIF 图片,提供倒放/正放、变速、滑动、旋转、翻转功能。

指令选项

选项 简写 描述 类型
--rebound -b 回弹效果(正放+倒放) boolean
--reverse -r 倒放 GIF boolean
--frame -f 指定处理gif的平均帧间隔 number
--slide -l 滑动方向 (上/下/左/右) string
--rotate -o 旋转方向 (顺/逆) string
--turn -t 转向角度 (上/下/左/右/0-360) string
--information -i 显示 GIF 信息 boolean

使用示例

点击此处————查看指令使用示例
  • 回弹 GIF:
    gif -b
  • 倒放 GIF:
    gif -r
  • 指定帧间隔 20ms:
    gif -f 20
  • 右滑 GIF:
    gif -l 右
  • 逆时针旋转 GIF:
    gif -o 逆
  • 转向 30 度:
    gif -t 30
  • 转向向上:
    gif -t 上
  • 右上方滑动:
    gif -l 右 -t 45
  • 顺时针旋转:
    gif -o 顺
  • 显示 GIF 信息:
    gif -i

完整使用方法请使用 gif -h 查看指令用法


Package Sidebar

Install

npm i koishi-plugin-gif-reverse

Weekly Downloads

17

Version

1.6.2

License

MIT

Unpacked Size

68.8 kB

Total Files

9

Last publish

Collaborators

  • shangxue
  • idranme