Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
pngquant requirement.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengarrett committed Dec 1, 2022
1 parent 72985bc commit c481b2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -119,6 +119,7 @@ func exeTmp() string {
│ webp lib: {{.Webp}} │
│ imagemagick: {{.Magick}} │
│ netpbm: {{.Netpbm}} │
│ pngquant: {{.PngQuant}} │
│ ─────────────────────────── │
│ arj: {{.Arj}} │
│ lhasa: {{.Lha}} │
@@ -171,6 +172,7 @@ func checks() looks {
"cwebp": miss,
"convert": miss,
"pnmtopng": miss,
"pngquant": miss,
"arj": miss,
"lha": miss,
"unrar": miss,
@@ -198,6 +200,7 @@ func info() string {
Webp string
Magick string
Netpbm string
PngQuant string
Arj string
Lha string
UnRar string
@@ -221,6 +224,7 @@ func info() string {
Webp: check(l["cwebp"]),
Magick: check(l["convert"]),
Netpbm: check(l["pnmtopng"]),
PngQuant: check(l["pngquant"]),
Arj: check(l["arj"]),
Lha: check(l["lha"]),
UnRar: check(l["unrar"]),

0 comments on commit c481b2a

Please sign in to comment.