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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?