# File lib/png.rb, line 173 def initialize(canvas) @height = canvas.height @width = canvas.width @bits = 8 @data = canvas.data end