module ChunkyPNG::Canvas::StreamExporting

def to_rgb_stream

Returns:
  • (String) - The RGB-formatted pixel data.
def to_rgb_stream
  pixels.pack('NX' * (width * height))
end