Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
PuddingTower
VenvPyCompiler
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
VenvPyCompiler
/
HELP
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
48 lines (32 loc) · 1.79 KB
main
Breadcrumbs
VenvPyCompiler
/
HELP
Copy path
Top
File metadata and controls
Code
Blame
48 lines (32 loc) · 1.79 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
启动程序
双击运行`gif_cropper.py`,或在终端中使用上述命令启动程序。程序启动后,将显示主窗口“GIF裁剪器”。
设置分辨率
1. 手动输入:
- 在“请输入分辨率(宽x高)”字段中输入所需的宽度和高度,格式为`宽x高`(例如`640x480`)。
2. 快捷按钮:
- 点击“320x240”按钮,程序将自动设置分辨率为320宽×240高。
- 点击“240x135”按钮,程序将自动设置分辨率为240宽×135高。
3. 保存分辨率:
- 设置的分辨率将自动保存到`config.txt`文件中,程序下次启动时将加载上次保存的分辨率。
选择GIF文件或目录
1. 选择单个GIF文件:
- 点击“选择 GIF”按钮,弹出文件选择对话框。
- 浏览并选择您想要裁剪的GIF文件。
2. 选择GIF目录:
- 点击“选择 GIF 目录”按钮,弹出目录选择对话框。
- 选择包含多个GIF文件的目录,程序将自动处理该目录下所有的GIF文件。
裁剪GIF
1. 显示图像:
- 选择GIF文件后,程序将在画布上显示GIF的第一帧。
2. 绘制裁剪区域:
- 使用鼠标左键在图像上点击并拖动,绘制裁剪矩形。
- 裁剪区域将根据设定的宽高比自动调整,以保持分辨率比例。
3. 调整裁剪区域:
- 可以重新绘制裁剪区域,或修改分辨率后重新绘制。
保存裁剪后的GIF
1. 确认裁剪:
- 绘制好裁剪区域后,点击“确认裁剪并保存”按钮。
2. 保存文件:
- 程序将裁剪并调整GIF的每一帧,生成新的GIF文件,文件名将在原文件名后添加`_cropped`后缀(例如`example_cropped.gif`)。
3. 完成提示:
- 保存完成后,将弹出提示框显示新文件的保存路径。
You can’t perform that action at this time.