akerdi / tinytiny

ElectronVue. This is for helping improve reduce work of every time of compressing pictures before archive.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tinytiny

tiny00 tiny01

This project was generated with electron-vue using vue-cli. Documentation about the original structure can be found here.

Other important progress learning skill

ElementUI 使用2.10.x 出现el-table 显示有问题

回退到2.4.11 版本

position fixed X居中

.style {
  left: 50%;
  transform: translateX(-50%); // 这句话可以让position fixed 的div 居中
}

build

打包mac yarn build: node .electron-vue/build.js && electron-builder

打包win yarn build: node .electron-vue/build.js && electron-builder -w

TODOs

  • 增加图片大小调整(module gm), 用户可填写目标大小

  • 用户不做tiny 时,不消耗使用量

  • 本次任务是否执行tiny 图片资源

  • 本次任务是否重命名 图片资源(打勾需要输入图片首名, 否则默认是default, 接下来文件名 + ' (index)')

  • 本次任务是否生成的新的同级文件夹置放对应资源(同级文件夹: 之前文件名+'_tinytiny')

  • 判别文件类型,使用后缀是否为 _.lowercase === [.jpg .jpeg .png ...]

  • 当前确认使用串行执行操作

About

ElectronVue. This is for helping improve reduce work of every time of compressing pictures before archive.


Languages

Language:JavaScript 70.5%Language:Vue 16.0%Language:CSS 12.3%Language:HTML 1.2%