All Questions
Tagged with png gdal-translate
8 questions
1
vote
0
answers
91
views
What is the proper syntax in gdal_translate to change image.png to a geotiff by assigning latlong pairs to pixels?
I cannot find comprehesible documentation on how to assign latlon to pixels in an orthogonal image that must be made into a proper geotiff.
INPUT kat.png (ORDINARY) OUTPUT kat.tif (GEOTIFF)
512px by ...
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
...
2
votes
0
answers
369
views
Convert a one-band GTIFF to PNG with adjusted color ramp using GDAL
I have a one-band fCover GTiff with values ranging between 0 to 0.4 and I would like to convert it to a png using a color ramp adapted to this tiff.
I already have a png from this tif but the color ...
3
votes
3
answers
4k
views
ERROR 1: Error : band 1 has no color table
I would like to convert a GeoTIFF to PNG or JPEG RGB, and my GeoTIFF is stripped of a lot of valuable data (I think..)
I am on ubuntu and I am using gdal_translate to try and make a GeoTIFF turn into ...
0
votes
1
answer
867
views
convert png with alpha channel to GeoTiff
How do I convert a png with an alpha channel to a GeoTIFF using gdal_translate so that the alpha channel gets reflected in the GeoTiff. Currently the GTiff that is produced is resulting in 3 Bands, ...
4
votes
1
answer
5k
views
Performing gdal translate to png/jpeg?
I tried gdal translate to png:
gdal_translate image.bsq image.jpg -of JPEG -outsize 10% 10% -scale
and jpeg:
gdal_translate image.bsq image.png -of PNG -outsize 10% 10% -scale
jpeg looks better ...
0
votes
1
answer
1k
views
gdal translate -co, which options are available to PNG?
I can create a PNG with:
gdal_translate -of PNG -outsize 10% 10% image.bsq image.png
I see there is a -co (creation options) parameter I can pass to gdal translate. Where can I find which options ...
1
vote
1
answer
432
views
Wrong dimensons on .png-file when using gdal_translate
I am using
gdal_translate -of PNG -ot UInt16 -scale MIN MAX 0 65535 "source.tiff" "output.png"
in the command-prompt to create a .png-file from a .tif-file that I created using the Interpolation-...