smlr

Re-encode jpeg images with no perceivable quality loss.

  • 所有者: jasonmoo/smlr
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

smlr

  • This project is experimental and needs some tuning. *

Re-encode jpeg images with no perceivable quality loss.

Uses the butteraugli psychovisual comparison and k-ary search to determine the best jpeg quality setting that will not "appear" degraded.

Installation:

1. Clone https://github.com/google/butteraugli.
2. Run `make` in the `src/` directory to build the `compare_pngs` binary.
3. Move `compare_pngs` to some folder in your `PATH`
4. `go get github.com/jasonmoo/smlr`

Use:

smlr -if my_image.jpg -of my_image.best.jpg

Flags available:
	-if string
		file to process
	-of string
		output file
	-width int
		width to resize to.  omitting either width or height will maintain proportion.
	-height int
		height to resize to.  omitting either width or height will maintain proportion.
	-max float
		maximum deviation detected (default 1.1)
	-cores int
		how many cores to use (default runtime.NumCPU())

Inspired by:

https://medium.com/@duhroach/reducing-jpg-file-size-e5b27df3257c

LICENSE: MIT

主要指标

概览
名称与所有者jasonmoo/smlr
主编程语言Go
编程语言Shell (语言数: 2)
平台
许可证
所有者活动
创建于2016-05-10 20:59:55
推送于2016-05-16 03:17:08
最后一次提交2016-05-15 23:17:03
发布数0
用户参与
星数430
关注者数11
派生数8
提交数5
已启用问题?
问题数5
打开的问题数4
拉请求数1
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?