favicon_maker 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -3
- data/lib/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -31,7 +31,7 @@ Uses the following defaults:
|
|
31
31
|
|
32
32
|
options = {
|
33
33
|
:versions => [:apple_114, :apple_72, :apple_57, :apple_pre, :apple, :fav_png, :fav_ico],
|
34
|
-
:custom_versions
|
34
|
+
:custom_versions => {},
|
35
35
|
:root_dir => File.dirname(__FILE__),
|
36
36
|
:input_dir => "favicons",
|
37
37
|
:base_image => "favicon_base.png",
|
@@ -44,7 +44,7 @@ Uses the following defaults:
|
|
44
44
|
|
45
45
|
options = {
|
46
46
|
:versions => [:apple_114, :apple_57, :apple, :fav_png, :fav_ico],
|
47
|
-
:custom_versions => {:apple_extreme_retina => {:filename => "apple-touch-icon-228x228-precomposed.png", :dimensions => "228x228", :format => "png"}
|
47
|
+
:custom_versions => {:apple_extreme_retina => {:filename => "apple-touch-icon-228x228-precomposed.png", :dimensions => "228x228", :format => "png"}}
|
48
48
|
:root_dir => Rails.root,
|
49
49
|
:input_dir => File.join(Rails.root, "app", "assets", "public"),
|
50
50
|
:base_image => "favico.png",
|
@@ -54,7 +54,9 @@ Uses the following defaults:
|
|
54
54
|
FaviconMaker::Generator.create_versions(options) do |filepath|
|
55
55
|
Rails.logger.info "Created favicon: #{filepath}"
|
56
56
|
end
|
57
|
+
## Base Image Guideline
|
58
|
+
Choose the version with the biggest dimension as your base image. Currently the size 114x114 for newer iOS devices marks the upper limit. So just create a PNG with 24 or 32 Bit color depth and 114x114 document size. Downscaling of images always works better than upscaling.
|
57
59
|
|
58
60
|
## Copyright
|
59
61
|
|
60
|
-
|
62
|
+
© 2011 Andreas Follmann. See LICENSE for details.
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: favicon_maker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-11-01 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mini_magick
|
16
|
-
requirement: &
|
16
|
+
requirement: &70323753590700 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '3.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70323753590700
|
25
25
|
description: Create favicon files in various sizes from a base image
|
26
26
|
email:
|
27
27
|
executables: []
|