Commit Graph

32 Commits

Author SHA1 Message Date
Steven
30140c2b7a Fix CLI bug 2021-08-20 18:35:29 -04:00
Steven
10996cdbca Add missing import 2021-08-20 16:08:01 -04:00
Steven
e5806507d4 Remove Node.js API surface in libsquoosh 2021-08-20 15:11:14 -04:00
Simon G
aea316c604 fix(cli): append suffix option at the end
- close #1062
2021-06-19 11:40:52 +02:00
atjn
720cb98872 [CLI] Handle subdirectories without failing 2021-05-20 09:12:29 +02:00
Surma
392aced394 Introduce libSquoosh 2021-05-19 12:15:00 +01:00
atjn
25754b91b7 Change 'encodedAs' to 'encodedWith' 2021-05-13 19:34:50 +02:00
atjn
875c24525b Upgrade commander to v7 2021-05-13 19:07:42 +02:00
atjn
50ed5febd3 Stick to the term 'preprocessor' 2021-05-13 16:53:15 +02:00
atjn
b50402e3b3 Separate CLI and API 2021-05-04 12:57:48 +02:00
DetachHead
9352569852 remove outdated comment 2020-12-27 16:01:02 +10:00
DetachHead
10d648c28d check if path is directory using lstat instead of requiring trailing slash 2020-12-27 15:59:56 +10:00
DetachHead
1e64e52298 fix reading directories 2020-12-26 23:26:27 +10:00
DetachHead
733b470f1f allow passing entire directories as input 2020-12-26 22:56:23 +10:00
Peter Fernandes
b5f708a1e6 Fix formatting 2020-12-09 17:17:31 -05:00
Peter Fernandes
15248bf85a Validate that input files exist before attempting to process them 2020-12-09 17:14:43 -05:00
Surma
5af8810e0b CLI code review 2020-12-08 16:33:33 +00:00
Surma
67c64d4df3 Add ImageQuant support 2020-11-02 16:09:58 +00:00
Surma
af954bd9e0 Build preprocessor pipeline 2020-11-02 14:55:29 +00:00
Jason Miller
911ca32c35 Fancy progress output 2020-10-05 22:51:23 -04:00
Jason Miller
49cb8b268c Fix misnamed butteraugliDistanceGoal parameter 2020-10-05 22:50:49 -04:00
Jason Miller
4946268ae2 Move image decoding into the worker pool 2020-10-05 22:50:06 -04:00
Surma
1d5fd98a3e Add support for no-value encoder flags 2020-09-21 18:20:02 +01:00
Surma
ef920ac6ba Add suffix support 2020-09-16 14:58:04 +01:00
Surma
f445a5dcbe Parameterize auto optimizer 2020-09-16 13:32:09 +01:00
Surma
c8dc88f8a1 Add auto optimizer 2020-09-15 17:53:49 +01:00
Surma
1e700cd7c3 Add better output formatting 2020-09-14 17:20:49 +01:00
Surma
01c04d4a72 Add worker pool implementation 2020-09-14 17:05:02 +01:00
Surma
c9a271f57a Use __filename for worker instead 2020-09-09 23:43:30 +01:00
Surma
e9b9993189 Add shebang to output 2020-09-09 23:38:26 +01:00
Surma
6e3e6af70e Moar prettier 2020-09-09 18:25:32 +01:00
Surma
47fb7f9f71 Rollup for proper CLI 2020-09-09 18:22:50 +01:00