lib/chunky_png/chunk.rb in chunky_png-0.5.6 vs lib/chunky_png/chunk.rb in chunky_png-0.5.7

- old
+ new

@@ -186,10 +186,10 @@ end class ImageData < Generic def self.combine_chunks(data_chunks) - Zlib::Inflate.inflate(data_chunks.map(&:content).join('')) + Zlib::Inflate.inflate(data_chunks.map { |c| c.content }.join('')) end def self.split_in_chunks(data, chunk_size = 2147483647) streamdata = Zlib::Deflate.deflate(data) # TODO: Split long streamdata over multiple chunks