Josh Holmer
e3ba535a79
Add some changes and fixes around how the output file is handled
...
See changelog for details
2018-01-10 20:54:15 -05:00
Josh Holmer
88f5bb0931
Hide modules from documentation, and only export structs used in options or return types
2018-01-10 10:37:01 -05:00
Josh Holmer
32e3d245f9
Run latest rustfmt
2017-12-27 17:21:21 -05:00
Josh Holmer
bb6a2513eb
Return exit code of 1 if error occurs while processing a file using the CLI
...
Closes #93
2017-12-27 17:20:12 -05:00
Josh Holmer
9c7fdfd9d1
Fix parsing of glob paths on Windows
...
Closes #90
2017-11-06 19:01:18 -05:00
Josh Holmer
fa334e0750
Update dependencies
2017-11-06 18:50:10 -05:00
Josh Holmer
0db03c6faf
Fix new clippy lints
2017-09-03 23:36:38 -04:00
Josh Holmer
f41ef551d3
Enable option for multiple alpha transformations
2017-07-26 00:37:55 -04:00
Josh Holmer
413f1aac7c
Automatically change transparent pixels to black
2017-07-24 08:47:27 -04:00
Josh Holmer
19405cabd6
Fix help text
...
Closes #70
2017-07-01 10:10:26 -04:00
Josh Holmer
5f4ddbb8f4
Upgrade dependencies
2017-06-14 18:28:07 -04:00
Josh Holmer
ed3b843dd2
Update rayon and itertools dependencies
2017-05-02 19:29:20 -04:00
Josh Holmer
84cf6b09c2
Run rustfmt since it updated to v0.8.0.
...
I don't really like the new changes, but we might as well follow along.
2017-03-08 11:14:33 -05:00
Josh Holmer
6c8e7d253d
Verify images are correct before outputting them, and fix a bug in certain images
...
Closes #60
2017-03-06 20:16:28 -05:00
Josh Holmer
705d280f8b
Fix warning when clippy not enabled
2017-02-19 10:43:46 -05:00
Josh Holmer
ce2d166de2
Allow cyclomatic complexity on parse_opts function, there's no reasonable way to split this up
...
Closes #26
2017-02-15 13:01:17 -05:00
Joshua Holmer
bf341dd20f
Fix clippy warnings
2016-12-01 22:33:38 -05:00
Josh Holmer
6d49d7b8f9
Implement zopfli compression, available as a CLI flag (-Z)
...
Improves compression by about 10% over DEFLATE, but takes a very long
time at the moment, so it is off by default.
2016-12-01 12:51:30 -05:00
Alice Atlas
7460ffac73
Fix for passing in filenames that contain commas
...
The versions of clap supported by oxipng default to allowing commas to be used as a delimiter for passing a series of values in a single physical command line argument, when parsing for a parameter that accepts multiple values. This prevents oxipng from accepting filenames containing commas (it splits them into segments separated by commas and treats each one as a separate path to a file to process, generally not finding any); this patch fixes this by disabling the delimiter behavior for the 'files' argument.
2016-09-19 18:13:24 -04:00
Josh Holmer
f654cbeac4
Various minor changes
2016-09-09 21:55:47 -04:00
Josh Holmer
e0dfbf3533
Enable clippy with dev feature, and fix several clippy lints
2016-08-20 20:47:26 -04:00
Josh Holmer
dbc3d97513
Eliminate many clones
2016-08-19 23:42:04 -04:00
Josh Holmer
3166285150
Allow using optimization presets from crate
...
Closes #43
2016-08-14 11:31:46 -04:00
Josh Holmer
99da13bd8e
Version 0.10.0 [ci skip]
2016-07-26 12:59:28 -04:00
Josh Holmer
29557a18e8
Version 0.9.0
2016-07-14 20:00:59 -04:00
Josh Holmer
7f9ad263ec
Refactor code into modules
2016-07-14 11:10:10 -04:00
Joshua Holmer
2659776bd5
Fix issue for interlacing images smaller than 4px
...
Fixes #42
2016-05-25 23:10:44 -04:00
Joshua Holmer
223995b551
Version 0.8.1 [ci skip]
2016-05-13 22:12:27 -04:00
Joshua Holmer
8358f4f72d
Version 0.8.0 [ci skip]
2016-05-06 10:00:02 -04:00
Joshua Holmer
193e6496bd
Version 0.7.0
2016-05-04 10:41:29 -04:00
Joshua Holmer
3a39b13acf
Add option for changing number of threads at runtime
...
Closes #39
2016-05-04 10:37:45 -04:00
Joshua Holmer
e4cd9b85e7
Move default Options into impl Default in library
2016-05-04 10:09:26 -04:00
Joshua Holmer
b8116dd3dd
Version 0.6.0 [ci skip]
2016-05-02 09:40:37 -04:00
Joshua Holmer
fac83c023d
Fix issue where output directory would not be created if it did not exist
2016-04-22 13:31:33 -04:00
Joshua Holmer
11308959fa
Version 0.5.0 [ci skip]
2016-04-20 15:51:14 -04:00
Joshua Holmer
ea484a8978
Version 0.4.0
2016-04-08 13:52:15 -04:00
Joshua Holmer
c78e3213d6
Update crates and fix interlacing issue
2016-04-08 13:37:00 -04:00
Josh Holmer
e9c44cbc0b
Add -s as alias for --strip safe
...
Fixes #31
2016-04-08 11:56:51 -04:00
Joshua Holmer
548c69cad7
Version 0.3.0 [ci skip]
2016-04-04 20:23:24 -04:00
Joshua Holmer
489964add2
Release v0.2.2 [ci skip]
2016-03-21 12:28:20 -04:00
Joshua Holmer
262bbf003a
Release version 0.2.1 [ci skip]
2016-03-10 14:50:35 -05:00
Joshua Holmer
911f51faa9
Version 0.2.0 [ci skip]
2016-03-05 22:55:01 -05:00
Joshua Holmer
b889c73a3b
Make --strip option more versatile
...
Closes #22
2016-03-05 22:36:31 -05:00
Joshua Holmer
7d1e3a5bb9
Print console output to stderr instead of stdout
...
Makes it friendlier with --stdout option
See #20 for discussion
2016-03-04 16:37:40 -05:00
Joshua Holmer
0ae632c7f4
Revert "Enable quiet when stdout is selected"
...
This reverts commit 849d36ec6c .
2016-03-04 16:03:33 -05:00
Joshua Holmer
c6452beb12
Select compression and filter modes heuristically for -o1
...
Closes #21
2016-03-04 15:24:58 -05:00
Joshua Holmer
849d36ec6c
Enable quiet when stdout is selected
2016-03-04 14:20:47 -05:00
Joshua Holmer
9a6379ac7e
Fix version string from -V
2016-03-04 10:07:43 -05:00
Joshua Holmer
abedfc9c70
Each input file should output to its own file correctly
...
Fixes #15
2016-03-03 16:30:05 -05:00
Joshua Holmer
3963f8da0a
Prefer unreachable over panic where appropriate
2016-03-02 14:16:34 -05:00