[gdal-dev] Urgent :: gdal_translate Solution
abhay menon
abhay.menon at gmail.com
Mon Mar 31 08:02:27 EDT 2008
Hi Bhasker,
Use -co NBITS=1
Rgds.
Abhay.
On Mon, Mar 31, 2008 at 5:06 PM, SriRam Prasad Bhasker <
SriRam.PrasadBhasker at rmsi.com> wrote:
>
> Hi.
>
> Whenever i use Gdal_Translate with the below Syntax the Monochrome 1 BIT
> image is getting converted tgo 8 BIT Image.
>
> Is there any Way to ensure the BPP values [Bits per Pixel] value remain
> the same even after translation.
>
> gdal_translate -of gtiff -co Compress=LZW input.tif output.tif
>
> presently input.tif = 1 Bit Image
> Output is coming as 8 BIT Image
>
> Bhasker
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080331/1afdb379/attachment.html
More information about the gdal-dev
mailing list