Skip to content

Commit

Permalink
Merge branch 'main' of github.com:hellodk34/jpg2gif
Browse files Browse the repository at this point in the history
  • Loading branch information
hellodk34 committed May 5, 2022
2 parents 27db7e3 + 189c9aa commit 3780f81
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# 前言

试用了好几个在线 jpg 转 gif 的网站,要么不免费,要么免费但并行转换的数量只有 2 个,需要注册提升并行转换数量等等,还有的甚至不能批量转换。遂根据我自己的需求(也比较简单)写了这个工具。
> **前言**
> 试用了好几个在线 jpg 转 gif 的网站,要么不免费,要么免费但并行转换的数量只有 2 个,需要注册提升并行转换数量等等,还有的甚至不能批量转换。遂根据我自己的需求(也比较简单)写了这个工具。
# jpg2gif

![downloads](https://img.shields.io/github/downloads/hellodk34/jpg2gif/v1.0/total) ![language](https://img.shields.io/badge/language-Java-green) ![MIT](https://img.shields.io/github/license/hellodk34/jpg2gif?style=plastic)

- 把 telegram 导出的 jpg/jpeg/png 静态表情图片转换成微信能够导入的 `.gif` 文件
- 输入一个文件夹路径,转换该文件夹下的所有 sticker 图片(不会递归查询子文件夹)
- 输出一个文件夹路径,保存所有的 `.gif` 文件,可以全选拖动到微信聊天页,然后发送,等发送成功就可以「Add Sticker」了
Expand All @@ -13,13 +14,13 @@
使用 tg bot 获取表情的 `.zip` 压缩包。以下两个 bot 都可以

- `@stickerset2packbot`
- `@Stickerdownloadbot`
- `@Stickerdownloadbot` (**更加推荐**)

本项目适用于静态图片的表情,动态图片的表情建议使用 bot [@tgstogifbot](https://github.com/ed-asriyan/tgs-to-gif)

## 本项目使用
## 用法

下载 jar 包。执行
本项目使用非常简单,下载 jar 包执行以下命令,然后就能在输出文件夹得到所有 `.gif` 图片

```
java -jar app.jar IMG_FOLDER OUTPUT_FOLDER
Expand Down

0 comments on commit 3780f81

Please sign in to comment.