Oyvind, One easy method is to create a vrt file with an alpha band for the original tiff. You can use this to create a compressed raster file that will be transparent at nodata pixels.
gdalbuildvrt -addalpha http://www.gdal.org/gdalbuildvrt.html On Tue, Apr 3, 2012 at 5:26 PM, Oyvind Idland <[email protected]>wrote: > Hello, > > > I got one problem: I have a bunch of uncompressed TIFF tiles, which I am > converting to compressed GeoTiff. I would > like to mask away the rgb(0,0,0) values. > > However, when I use NODATA on my VRT dataset, there are JPEG artifacts > around the edges when rendering. > > Is it possible to generate a transparency mask based on NDATA before > compressing, or is there any other/better way of > doing this ? > > thanks, > > - oyvind > > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
