imagetools 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/workspace.xml +1 -9
- data/Gemfile.lock +1 -1
- data/README.md +8 -2
- data/lib/imagetools/iconcreator.rb +1 -1
- data/lib/imagetools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0c09a0e718e8e80afa71f207fb0eb68ae6a98cc37ce04a5105d15958a576885
|
4
|
+
data.tar.gz: 2b8fba73e2c5ef832a0cdfb6f00afc3325b23a1a7d6d3a1607e09bf8b9d66d5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d2b036651994dd9dc0e4de301a903388df4f94ce224263c581be27842057abe3aa4028f6dccbf2a5b2a11fda85767c808b427d25fc360355da5effec4c197ac
|
7
|
+
data.tar.gz: 65b25497223df286e43595d6d2eebb3629183d5a758ef93d36da47d196afd9689a586bbbcb46a6fa3f1ba703ebee86662a41c70d1466c85e9fea77653cee69b8
|
data/.idea/workspace.xml
CHANGED
@@ -2,15 +2,7 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="b197c64f-57f8-4389-ab8d-dc9fe3cb05ba" name="Default" comment="">
|
5
|
-
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
|
6
5
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
7
|
-
<change beforePath="$PROJECT_DIR$/.ruby-version" beforeDir="false" afterPath="$PROJECT_DIR$/.ruby-version" afterDir="false" />
|
8
|
-
<change beforePath="$PROJECT_DIR$/Gemfile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/Gemfile.lock" afterDir="false" />
|
9
|
-
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
|
10
|
-
<change beforePath="$PROJECT_DIR$/imagetools.iml" beforeDir="false" afterPath="$PROJECT_DIR$/imagetools.iml" afterDir="false" />
|
11
|
-
<change beforePath="$PROJECT_DIR$/lib/imagetools/imageconcat.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/imagetools/imageconcat.rb" afterDir="false" />
|
12
|
-
<change beforePath="$PROJECT_DIR$/lib/imagetools/imagefilter.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/imagetools/imagefilter.rb" afterDir="false" />
|
13
|
-
<change beforePath="$PROJECT_DIR$/lib/imagetools/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/imagetools/version.rb" afterDir="false" />
|
14
6
|
</list>
|
15
7
|
<option name="SHOW_DIALOG" value="false" />
|
16
8
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
@@ -159,7 +151,7 @@
|
|
159
151
|
<workItem from="1583825074054" duration="96000" />
|
160
152
|
<workItem from="1646719315550" duration="10000" />
|
161
153
|
<workItem from="1669361560975" duration="7318000" />
|
162
|
-
<workItem from="1669384174219" duration="
|
154
|
+
<workItem from="1669384174219" duration="2215000" />
|
163
155
|
</task>
|
164
156
|
<servers />
|
165
157
|
</component>
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -123,14 +123,20 @@ Hazelなどの自動化ツールと組みあせると便利です。
|
|
123
123
|
|
124
124
|
### iconcreator
|
125
125
|
|
126
|
-
|
126
|
+
|
127
|
+
オリジナル画像からiOS/macOSアプリ用のアイコンファイルを一気に生成します。リサイズするため、オリジナル画像は1024x1024以上の大きなサイズのものを準備します。
|
128
|
+
|
127
129
|
|
128
130
|
![AppIcon](appicon.png)
|
129
131
|
|
130
132
|
```
|
131
|
-
iconcreator -i
|
133
|
+
iconcreator -t ios -i icon.png -o .
|
132
134
|
```
|
133
135
|
|
136
|
+
実行すると、-oで指定した出力フォルダ内にAppIcon.appiconsetフォルダ、および必要なアイコンファイルが出力されます。このフォルダをXcodeプロジェクトのAssets.xcassetsフォル内にコピーします。Assets.xcassets内に存在する既存のAppIcon.appiconsetを起きえます。
|
137
|
+
|
138
|
+
自動的にアプリのアイコンとして認識されるはずです。
|
139
|
+
|
134
140
|
|
135
141
|
|
136
142
|
## License
|
@@ -58,7 +58,7 @@ module Imagetools
|
|
58
58
|
end
|
59
59
|
opt.on('-v', '--verbose', 'Verbose message') {|v| opts[:v] = v}
|
60
60
|
types = ['ios', 'mac']
|
61
|
-
opt.on('-t', '--type', types, types.join("|") + "(default ios)") {|v| opts[:t] = v }
|
61
|
+
opt.on('-t', '--type=OSTYPE', types, types.join("|") + "(default ios)") {|v| opts[:t] = v }
|
62
62
|
opt.on('-i INPUTFILE', '--input=INPUTFILE', 'Original icon file(1024x1024 recommended') {|v| opts[:i] = v}
|
63
63
|
opt.on('-o OUTDIR', '--output=OUTDIR', 'Output dir(<PROJECT>/Assets.xcassets or any folder)') {|v| opts[:o] = v}
|
64
64
|
opt.parse!(argv)
|
data/lib/imagetools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imagetools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- src
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rmagick
|