parameters: (self, outfile, pixels)
docstring: Write an array in flat row flat pixel format as a PNG file on
          the output file.  See also :meth:`write` method.
docstring_summary: Write an array in flat row flat pixel format as a PNG file on
          the output file.  See also :meth:`write` method.
docstring_tokens: Write an array in flat row flat pixel format as a PNG file on the output file . See also : meth : write method .
function: def write_array(self, outfile, pixels):
          """
          Write an array in flat row flat pixel format as a PNG file on
          the output file.  See also :meth:`write` method.
          """
  
          if self.interlace:
              self.write_passes(outfile, self.array_scanlines_interlace(pixels))
          else:
              self.write_passes(outfile, self.array_scanlines(pixels))
function_tokens: def write_array ( self , outfile , pixels ) : if self . interlace : self . write_passes ( outfile , self . array_scanlines_interlace ( pixels ) ) else : self . write_passes ( outfile , self . array_scanlines ( pixels ) )