[Gdal-dev] Re: B&W tiffs

Richard Greenwood richard.greenwood at gmail.com
Wed Mar 16 08:50:39 EST 2005

Christoph Spoerri <cspoerri <at> cavtel.net> writes:

> Hi there,
> one of my peer developers at my office has the following question regarding 
> I have a 3-band color tiff file. Can I use the gdal library to convert it to 
> one-bit 4 group b&w tiff? If yes, how can I implement it?
> The problem we are facing is to create png and b&w tiffs from ArcMap layout 
> through code (VB). The only other solution (we know if currently) is getting 
> a license for ArcPress, yet this would be fairly expensive and would require 
> additional CPU/memory resources. Does anybody know of any other possible 
> solutions?
> thanks,
> Christoph

I would suggest ImageMagik
which is a command line tool. It will loose any geo-referencing information
saved in the tiff header, but you can save it before conversion and restore it
afterwards with gdal_translate.

Richard Greenwood
richard.greenwood at gmail.com

More information about the Gdal-dev mailing list