I have a big set of PNG files and EPSG:3006 coordinates of the edges of each file. (actually the coordinates of the edges are given in the file name, like this: 'image_666751_7023263_667007_7023519.png''image_666751_7023263_667007_7023519.png', so 666751, 7023263, 667007, 7023519 are the boundaries of the this image in EPSG:3006 )
How can I convert those PNG files to GeoTIFF files using Python so the TIFF files would contain the geo metadata. I guess it can be done with Rasterio lib, but I'm not sure how exactly.