def profile(self, tile=None):
dst_metadata = PNG_DEFAULT_PROFILE<EOL>dst_metadata.pop("<STR_LIT>", None)<EOL>if tile is not None:<EOL><INDENT>dst_metadata.update(<EOL>width=tile.width, height=tile.height, affine=tile.affine,<EOL>crs=tile.crs)<EOL><DEDENT>try:<EOL><INDENT>dst_metadata.update(count=self.output_params["<STR_LIT:count>"])<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>return dst_metadata<EOL>
Create a metadata dictionary for rasterio.

Parameters
----------
tile : ``BufferedTile``

Returns
-------
metadata : dictionary
    output profile dictionary used for rasterio.