lib/stj/meme.rb in stj-1.0.0 vs lib/stj/meme.rb in stj-1.0.1
- old
+ new
@@ -16,10 +16,10 @@
"tistj_#{name}.jpg"
end
def create(path)
point_size = 50
- img = MiniMagick::Image.from_file(image)
+ img = MiniMagick::Image.open(image)
img.combine_options do |c|
c.gravity 'South'
c.font File.join(STJ::LIB_PATH, 'fonts', 'impact.ttf')
c.pointsize '50'
c.stroke '#000000'
\ No newline at end of file