FIX: letter avatars command line
This commit is contained in:
parent
f3ff435a62
commit
4dfb1de77e
|
@ -1,7 +1,7 @@
|
||||||
class LetterAvatar
|
class LetterAvatar
|
||||||
|
|
||||||
# BUMP UP if avatar algorithm changes
|
# BUMP UP if avatar algorithm changes
|
||||||
VERSION = 4
|
VERSION = 5
|
||||||
|
|
||||||
# CHANGE these values to support more pixel ratios
|
# CHANGE these values to support more pixel ratios
|
||||||
FULLSIZE = 120 * 3
|
FULLSIZE = 120 * 3
|
||||||
|
@ -71,7 +71,7 @@ class LetterAvatar
|
||||||
-size #{FULLSIZE}x#{FULLSIZE}
|
-size #{FULLSIZE}x#{FULLSIZE}
|
||||||
xc:#{to_rgb(color)}
|
xc:#{to_rgb(color)}
|
||||||
-pointsize #{POINTSIZE}
|
-pointsize #{POINTSIZE}
|
||||||
-fill 'rgba(255,255,255,0.8)'
|
-fill '#FFFFFFCC'
|
||||||
-font 'Helvetica'
|
-font 'Helvetica'
|
||||||
-gravity Center
|
-gravity Center
|
||||||
-annotate -0+26 '#{letter}'
|
-annotate -0+26 '#{letter}'
|
||||||
|
|
Loading…
Reference in New Issue