Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TinyPNG CompressNew to Visual Studio Code? Get it now.
TinyPNG Compress

TinyPNG Compress

localSummer

|
12 installs
| (0) | Free
图片压缩工具
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tinify Compress Image

TinyPNG 图片压缩工具,可一键生成压缩后的图片。

apiKey 申请地址:https://tinify.cn/developers

功能特点

  • 输出压缩后的图片

解决的问题

  • 节省图片压缩时间,可一键生成压缩后的图片

安装方法

  1. 下载 .vsix 安装包
  2. 在VS Code中,选择 "扩展" 视图
  3. 点击视图右上角的 "..." 菜单
  4. 选择 "从VSIX安装..."
  5. 选择下载的 .vsix 文件进行安装

配置说明

在VS Code设置中配置以下参数:

  • tinify.apiKey: tinify密钥
    • 必须配置项,apiKey 申请地址:https://tinify.cn/developers

使用方法

  1. 选择待压缩图片的文件或目录
  2. 右键选择 "tinify-compress-image"
  3. 等待压缩图片生成

注意事项

  • 使用前请确保已正确配置 tinify.apiKey

许可证

MIT

问题反馈

如有问题或建议,请在GitHub仓库提交Issue:tinify-compress-image

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft