Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
54 views

Export GTiff to PNG

I'm trying to export a raster as a PNG file only for visualization purposes. Currently, gdalinfo -stats shows this: Driver: GTiff/GeoTIFF Files: ./downloads/2023-06-01.tiff Size is 764, 693 Coordinate ...
Guillermo Moreno Castaño's user avatar
2 votes
2 answers
2k views

Converting PNG to GeoTIFF using GDAL Python

I want to ask how to convert PNG to GeoTIFF using GDAL in Python. I ran this code but it's not work and I want to export the output into my computer. How can I fix my code? ds = gdal.Open('input.png') ...
ghea ayunda's user avatar
1 vote
2 answers
1k views

GTiff to PNG conversion- Gdal Python

I am trying to convert a Gtiff image to PNG using Gdal in python with gdal_translate. My gtiff has the following properties: Width 255 Height 255 Data type Float32 - Thirty two bit floating point ...
Karantai's user avatar