This commit is contained in:
relikd
2021-09-30 01:31:27 +02:00
parent 823ed3aaa9
commit 63d2fc4f42
10 changed files with 240 additions and 198 deletions

View File

@@ -10,7 +10,8 @@ Here are two tools to open icns files directly in your browser. Both tools can b
- The [inspector] shows the structure of an icns file (useful to understand byte-unpacking in ARGB and 24-bit RGB files).
- The [viewer] displays icons in ARGB or 24-bit RGB file format.
[inspector]: https://relikd.github.io/icnsutil/html/inspector.html
[inspector]: https://relikd.github.io/icnsutil/html/inspector.html
[viewer]: https://relikd.github.io/icnsutil/html/viewer.html
## Usage
@@ -29,16 +30,16 @@ positional arguments:
```sh
# extract
# extract
icnsutil e ExistingIcon.icns -o ./outdir/
# compose
# compose
icnsutil c NewIcon.icns 16x16.png 16x16@2x.png *.jp2
# print
# print
icnsutil p ExistingIcon.icns
# verify valid format
# verify valid format
icnsutil t ExistingIcon.icns
```