[Gdal-dev] remove background from a geotiff

John Cartwright John.C.Cartwright at noaa.gov
Thu Apr 26 15:45:23 EDT 2007


Hello again,

I've been able to achieve what I was looking for via Image Magick's 
convert command, e.g.

convert crm_east.tif -transparent "rgb(0,0,0)" crm_east.png

Should teach me to look at at all the tools in the toolbox instead of 
focusing on a single one!

-- john



John Cartwright wrote:
> Hello All,
>
> I have a geotiff that has a black (0,0,0) background that I would like 
> to remove as part of a conversion to png or gif.
> Is there an easy way to do this with one of the existing utilities or 
> will I need to create my own?
>
> Thanks!
>
> -- john
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
>



More information about the Gdal-dev mailing list