Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xnth97 committed Oct 12, 2023
1 parent 2c9b7b8 commit dad4d60
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.swiftpm
Package.resolved
.build
.vscode
Binary file removed Images/demo.jpg
Binary file not shown.
Binary file added Images/demo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A command line tool and Swift package for generating image assets for Apple plat

`Assetool` is a SwiftUI app built on top of `AssetKit`. Free download from Mac App Store.

![](/Images/demo.jpg)
![](/Images/demo.png)

# CLI

Expand Down Expand Up @@ -48,13 +48,21 @@ assetool image <input> [-o <output>] [--width <width>] [--height <height>]

`--width <width>` and `--height <height>`: @1x width or height of the exported image set. If empty, will use the original width/height as @3x size.

### OSX Iconset

The `osx-iconset` subcommand generates OS X `.iconset` format. See [Icon Set Type](https://developer.apple.com/library/archive/documentation/Xcode/Reference/xcode_ref-Asset_Catalog_Format/IconSetType.html) for details.

```
assetool osx-iconset <input> [-o <output>]
```

# Package

## Installation

```swift
dependencies: [
.package(url: "https://github.com/xnth97/AssetKit", from: "1.0.0"),
.package(url: "https://github.com/xnth97/AssetKit", from: "1.2.1"),
],
```

Expand Down

0 comments on commit dad4d60

Please sign in to comment.