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
This adds a short list of software using Oxipng to the read me. It's not
intended to be an exhaustive list, just some ones that I'm aware of that
may have broad general interest.
I've also removed the long section about Trunk which I'm not sure is
appropriate to include in this read me. Trunk users can find
documentation on this from Trunk directly.
Lastly, I've removed the older benchmark which I'm sure has no relevance
any more.
Copy file name to clipboardexpand all lines: README.md
+10-76
Original file line number
Diff line number
Diff line change
@@ -93,46 +93,6 @@ repos:
93
93
```
94
94
[pre-commit]: https://pre-commit.com/
95
95
96
-
## Git integration via [Trunk]
97
-
98
-
[Trunk] is an extendable superlinter which can be used to run `oxipng` to automatically optimize `png`s when committing them into a git repo, or to gate any `png`s being added to a git repo on whether they are optimized. The [trunk] Oxipng integration is [here](https://github.com/trunk-io/plugins/tree/main/linters/oxipng).
You can setup [trunk] to [manage your git hooks](https://docs.trunk.io/docs/actions-git-hooks) and automatically optimize any `png`s you commit to git, _when_ you `git commit`. To enable this, run:
129
-
130
-
```bash
131
-
trunk actions enable trunk-fmt-pre-commit
132
-
```
133
-
134
-
[trunk]: https://docs.trunk.io
135
-
136
96
## Docker
137
97
138
98
A Docker image is availlable at `ghcr.io/shssoichiro/oxipng` for `linux/amd64` and `linux/arm64`.
@@ -159,6 +119,16 @@ no simple way to just disable one feature in Cargo, it has to be done by disabli
159
119
and specifying the desired ones, for example:
160
120
`oxipng = { version = "9.0", features = ["parallel", "zopfli", "filetime"], default-features = false }`
161
121
122
+
## Software using Oxipng
123
+
124
+
- [ImageOptim](https://imageoptim.com): Mac app and web service for optimizing images
125
+
- [Squoosh](https://squoosh.app): Web app for optimizing images
126
+
- [FileOptimizer](https://nikkhokkho.sourceforge.io/?page=FileOptimizer): Windows app for optimizing files
127
+
- [Curtial](https://github.com/Huluti/Curtail): Linux app for optimizing images
128
+
- [pyoxipng](https://pypi.org/project/pyoxipng/): Python wrapper for Oxipng
129
+
- [jSquash](https://github.com/jamsinclair/jSquash): Collection of WebAssembly image codecs
130
+
- [Trunk](https://trunk.io): Developer experience toolkit for managing code
131
+
162
132
## History
163
133
164
134
Oxipng began as a complete rewrite of the OptiPNG project,
@@ -220,39 +190,3 @@ Summary
220
190
5.01 ± 0.25 times faster than optipng -o 4 -simulate ./tests/files/rgb_16_should_be_grayscale_8.png
221
191
222
192
```
223
-
224
-
<details>
225
-
<summary>Older benchmark</summary>
226
-
227
-
Tested Oxipng 5.0.0 (compiled on rustc 1.55.0-nightly (7a16cfcff 2021-07-11)) against OptiPNG version 0.7.7 on AMD Ryzen 7 4800H with Radeon Graphics with 16 logical cores
0 commit comments