Il 15/01/2014 12:01, Andrea Peri ha scritto:
Hi,

I have a lot of huge tiff not-gereferenced raster.
These tiff are all with 4 bands (RGBA) and 10 pyramids inside.

I need to remove the piramids and retrieve a new tiff version without
the piramids and with only 3 bands (RGB).

Usually this work is do using imagemagick or vips, but I like to try to
use the gdal-translate to do this.
But Im not sure , because the tiff are not georef and also I'm not sure if
gdal is capable to read a 4 pyramid tiff and generate a 3 not-piramid tiff.

Andrea,
you can do it with gdal_translate and its creation options [1].
You can try with something like this:

gdal_translate -co COPY_SRC_OVERVIEWS=NO -co ALPHA=NO -co TFW=YES -co PROFILE=BASELINE input.tif output.tif

Hope this helps.

Cheers,
Antonio

[1] http://www.gdal.org/frmt_gtiff.html

--
Antonio Falciano
http://www.linkedin.com/in/antoniofalciano
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to