Code Monkey home page Code Monkey logo

tinypng's Introduction

图片压缩软件

基于TinyPNG Api压缩软件,可安装直接运行,无需依赖任何第三方包及库。

日常开发经常会用到tinypng.org图片批量压缩,TinyPNG平均压缩率能达到60%,肉眼能观察到的画质损失微乎其微,对页面加载提速及体验、节省用户流量、缩小程序包有很大帮助。

下载:

Download the installer for Windows>>
Download the installer for MacOS>>

Screenshots

MacOS版

配置

TinyPNG Key是免费的,为了安装后可以直接用,软件源码中已有2个Key,安装后会随机配置一个作为使用。每个Key每月免费压缩为500次,若不够可以自己多申请几个(申请很简单,填写邮箱和昵称,便会收到邮件,根据邮件中的链接进入创建key即可);
由于TinyPNG服务器在国外,国内访问较慢,如果你有国外代理可配置为其加速。
2021/08/11 新增免key模式,现在可以无需申请key。(原有的KEY模式同时保留)

Usage

There are two ways to add files:

1.Click the button at the top-left to choose one or more files or a folder;
2.For a more convenient and efficient option, it is recommended to drag and drop the objects directly into the table area of the window;
3.Use shortcut keys associated with the buttons, for example: press Ctrl+O to add an object, Ctrl+S to start a task;
4.Double-click any row in the table to preview the picture associated with that row in the system's image previewer;
5.You can delete rows either by right-clicking on any of them or by selecting the rows and pressing the Del key;

Remark: If the object you add is a folder, the software will automatically list all the image files contained within that folder recursively.

Comparisons

以下是对电商项目的商品详情页图片压缩测试数据,无论是页面大小还是访问速度的提升都很显著
截图

免责声明

该仓库仅用于学习,如有商业用途,请购买官方的 pro 版:https://tinify.com/checkout/web-pro

This Repo is only for study.

tinypng's People

Contributors

plexpt avatar yongplus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tinypng's Issues

压缩后保留 exif 相关信息

1.官方 api 有 example 可以压缩后保留 exif location creation 等信息,请问可以增加一个配置项保留这些信息吗?
https://tinypng.com/developers/reference

curl https://api.tinify.com/output/2xnsp7jn34e5
--user api:YOUR_API_KEY
--header "Content-Type: application/json"
--data '{ "preserve": ["copyright", "creation"] }'
--dump-header /dev/stdout
--output optimized-copyright.jpg

copyright、creation、location

2.另外对于微信导出的图片名称为 mmexport16xx 后面一段为时间戳,请问可以增加一个配置在压缩图片后将微信导出的图片日期导出的时间写入 exif 吗?

程序很好用,提两处优化建议。

1、免key模式下是否可以增设一个每张图之间的延迟选项,以毫秒级填写间隔时间。
2、api模式下是否可以做多key功能,可以自主添加多个key,压缩出现数量超出限制后切换下一个key并从失败的图片位置重新尝试压缩。

PS:谢谢提供了非常好用压缩工具~

图片过多导致压缩失败

Too Many Requests,{"error":"too_many_requests","message":"Too many files uploaded at once."}

应该是图片过多导致的

批量添加不能追加,效率不高

可以增加一个设置,多次拖放文件进去的时候不清空之前的列表,而是追加。。。

还有个问题,有的文件夹拖进去会读取不完全,比如100张图只读到20张。文件夹下有其他格式文件就什么都读取不到

还有最好一次能拖放多个文件夹

.9图

hi,可以增加是否压缩.9图的开关吗?

windows客户端UI

image
Windows客户端UI问题,图标文字显示不全,不管怎么拉大窗口,都是这样,希望能更新一下,谢谢啦

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.