lib/phantom/parser/png_reader.rb in phantom_svg-1.2.3 vs lib/phantom/parser/png_reader.rb in phantom_svg-1.2.4

- old
+ new

@@ -30,11 +30,11 @@ private def read_png(path) frame = create_frame(path) @frames << frame - @width = "#{frame.width}px" - @height = "#{frame.height}px" + @width = "#{frame.width}" + @height = "#{frame.height}" end def read_apng(apngasm) @width = @height = 0 Dir.mktmpdir(nil, File.dirname(__FILE__)) do |dir|