You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/ISSUE_TEMPLATE/bug_report.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,8 @@ Steps to reproduce the behavior:
16
16
**Expected behavior**
17
17
A clear and concise description of what you expected to happen.
18
18
19
-
**Screenshots**
20
-
If applicable, add screenshots to help explain your problem.
19
+
**Screenshots and/or Log Text**
20
+
If applicable, add screenshots to help explain your problem. For macOS GUI and macOS right-click menu service problems, please copy and paste the text from the log file `~/.crunch/crunch.log` into your bug report (requires Crunch v3.0.0 or higher).
21
21
22
22
**Desktop (please complete the following information):**
- converted to custom build of zopflipng that is modified for use in the Crunch applications (forked from google/zopfli at git tag zopfli-1.0.2) at git version tag v2.1.0 (source repository is chrissimpkins/zopfli)
8
+
- improved zopfli compression ratios for post-quantized and non-quantized in-file sizes under 350kB. Many files are ~33% original file size after they are quantized with pngquant so this affects pre-optimization files up to just over ~1MB in size when the pngquant step is completed (the quantize step yields a modified image binary when it does not lead to larger file size or image quality below Crunch project thresholds, when this does not occur the original file at the original file size is used as the in-file to zopflipng)
9
+
- improved zopfli compression speed for post-quantized and non-quantized in-file sizes over 750kB
10
+
- eliminate optional PNG chunks by default in all files (reduces file size)
11
+
- converted to use of PNG filter = 0 for zopflipng compression of all quantized files (increases compression speed)
12
+
- use automated detection of best PNG filter for zopfli compression in all non-quantized files (improves compression)
13
+
- remove hidden colors behind alpha channel 0 in files that are not quantized due to low quality or increased file size following pngquant runs
14
+
- added new macOS GUI animations with success and fail indicators (thanks Gary Jacobs!)
15
+
- added logging of compression data and errors in macOS GUI and macOS right-click menu service tools in a new log file that is generated on the path `~/.crunch/crunch.log`
16
+
- updated redirect to /dev/null in install-dependencies.sh compile script for POSIX compliance
17
+
- refactored command line option parsing code (thanks Chris Clauss!)
18
+
- added new bug reporting template
19
+
3
20
### v2.1.0
4
21
5
22
- added automated detection of png image types through read of PNG file signatures
Copy file name to clipboardexpand all lines: README.md
+20-18
Original file line number
Diff line number
Diff line change
@@ -50,16 +50,16 @@ Select one or more PNG images in the Finder, right-click, and select the `Servic
50
50
51
51
## Examples
52
52
53
-
The following examples demonstrate the benefits and disadvantages of the current iteration of Crunch's aggressive space saving optimization strategy. In many cases, the PNG optimization minimizes file size with an imperceptible decrease in image quality. In some cases, degradation of image quality is visible. For example, view the horizon line + clouds in the prairie photo below for a demonstration of the introduction of undesirable image artifacts in the image. Experiment with the image types that you use and please submit a report with examples of any images where the image quality falls short of expectations for production-ready files.
53
+
The following examples demonstrate the benefits and disadvantages of the current iteration of Crunch's aggressive space saving optimization strategy. In many cases, the PNG optimization minimizes file size with an imperceptible decrease in image quality. In some cases, degradation of image quality is visible. View the horizon line in the prairie photo below for a demonstration of an undesirable artifact that is introduced with image processing. Experiment with the image types that you use and please submit a report with examples of any images where the image quality falls short of expectations for production-ready files.
54
54
55
55
## Photography Examples
56
56
57
57
### Cat Image
58
58
59
59
- Original Size: 583,398 bytes
60
-
- Optimized Size: 195,430 bytes
61
-
- DSSIM similarity score: 0.001504
62
-
- Percent original size: 33.50%
60
+
- Optimized Size: 196,085 bytes
61
+
- DSSIM similarity score: 0.001471
62
+
- Percent original size: 33.61%
63
63
64
64
##### Original
65
65
@@ -72,9 +72,9 @@ The following examples demonstrate the benefits and disadvantages of the current
72
72
### Sun's Rays
73
73
74
74
- Original Size: 138,272
75
-
- Optimized Size: 64,982
76
-
- DSSIM similarity score: 0.000913
77
-
- Percent original size: 47.00%
75
+
- Optimized Size: 66,593
76
+
- DSSIM similarity score: 0.000948
77
+
- Percent original size: 48.16%
78
78
79
79
##### Original
80
80
@@ -88,7 +88,7 @@ The following examples demonstrate the benefits and disadvantages of the current
88
88
### Prairie Image
89
89
90
90
- Original Size: 196,794 bytes
91
-
- Optimized Size: 77,968 bytes
91
+
- Optimized Size: 77,965 bytes
92
92
- DSSIM similarity score: 0.002988
93
93
- Percent original size: 39.62%
94
94
@@ -107,9 +107,9 @@ The following examples demonstrate the benefits and disadvantages of the current
107
107
### Robot Image
108
108
109
109
- Original Size: 197,193 bytes
110
-
- Optimized Size: 67,773 bytes
111
-
- DSSIM similarity score: 0.000163
112
-
- Percent original size: 34.37%
110
+
- Optimized Size: 67,596 bytes
111
+
- DSSIM similarity score: 0.000162
112
+
- Percent original size: 34.28%
113
113
114
114
##### Original
115
115
@@ -122,9 +122,9 @@ The following examples demonstrate the benefits and disadvantages of the current
122
122
### Color Circle Image
123
123
124
124
- Original Size: 249,251 bytes
125
-
- Optimized Size: 67,326 bytes
126
-
- DSSIM similarity score: 0.002503
127
-
- Percent original size: 27.01%
125
+
- Optimized Size: 67,135 bytes
126
+
- DSSIM similarity score: 0.002491
127
+
- Percent original size: 26.93%
128
128
129
129
##### Original
130
130
@@ -138,9 +138,9 @@ The following examples demonstrate the benefits and disadvantages of the current
138
138
### Flowers Image
139
139
140
140
- Original Size: 440,126 bytes
141
-
- Optimized Size: 196,979 bytes
142
-
- DSSIM similarity score: 0.000481
143
-
- Percent original size: 44.76%
141
+
- Optimized Size: 196,962 bytes
142
+
- DSSIM similarity score: 0.000480
143
+
- Percent original size: 44.75%
144
144
145
145
##### Original
146
146
@@ -164,7 +164,7 @@ Crunch is licensed under the [MIT license](https://github.com/chrissimpkins/Crun
164
164
165
165
pngquant is licensed under the [Gnu General Public License, version 3](https://github.com/pornel/pngquant/blob/master/COPYRIGHT). The pngquant source code is available [here](https://github.com/pornel/pngquant).
166
166
167
-
zopflipng is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0). The zopflipng source code is available [here](https://github.com/google/zopfli).
167
+
zopflipng is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0). The upstream zopflipng source code is available [here](https://github.com/google/zopfli). The source for the modified zopflipng fork that is used in this project is available [here](https://github.com/chrissimpkins/zopfli).
168
168
169
169
See the [LICENSE.md](LICENSE.md) document for details and additional licensing information for this project.
170
170
@@ -178,3 +178,5 @@ Crunch is a simple tool that makes excellent, free, open source software built b
178
178
179
179
- Lode Vandevenne, Jyrki Alakuijala, and the [zopfli project contributors](https://github.com/google/zopfli/graphs/contributors)
180
180
- Kornel Lesiński and the [pngquant project contributors](https://github.com/kornelski/pngquant/graphs/contributors)
181
+
182
+
The fantastic macOS GUI animations were designed by [Gary Jacobs](https://github.com/garyjacobs).
0 commit comments