class ChunkyPNG::Image

def self.from_datastream(ds)

Parameters:
  • ds (ChunkyPNG::Datastream) -- The datastream to read from.
def self.from_datastream(ds)
  image = super(ds)
  image.metadata = ds.metadata
  image
end