TinyPNG IntelliJ(IDEA / Android Studio 等)插件

2018-08-16 11:13:01 +08:00
 alvince

主要是方便自己平时开发使用,在 IDE 里快速调用 tinipng ( tinyjpg )压缩图片

GitHub - Tinify Picture

IntelliJ Plugins

快速压缩图片的 Intellij 插件

压缩功能由 TinyPng 网站提供 https://tinypng.com/ —— powerd by tinify-java

网站 web 端一次只能上传 20 张图片,手动操作需要重复上传下载解压。

申请 Api Key

在开发者页面 tinypng 申请 api key。
单个 api key 每月有 500 次的免费压缩额度,增加额度需要另外付费。

安装 & 使用

Install

Usage

  1. 安装完后重启,第一次使用会提示设置 Api Key

  2. 输入在 developers 申请的 api key

  3. 选择图片(可 多选,接受 png jpg 文件类型),自动上传压缩保存(覆盖)

  4. 快速操作
    可在图片编辑器右键菜单、项目文件 及 版本控制面板的 Local Changes 视图中
    文件右键菜单选择 "Tinify image file" 直接压缩图片

TODO

LICENSE

Copyright 2018 alvince

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
3240 次点击
所在节点    开源软件
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/480313

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX