Even,

On Fri, Dec 19, 2008 at 9:26 PM, Even Rouault
<even.roua...@mines-paris.org> wrote:
> Matt,
>
> The TIFF driver also supports writing 1-bit TIFF images. See NBITS in the
> Creation Options section.
>
> For example: gdal_translate source.tif output_1bit.tif -co NBITS=1
>
> When reading a 1-bit TIFF image, GDAL will expand each bit as a byte.
> When writting a 1-bit TIFF image, GDAL will write 1 as the bit value if the
> pixel value is non-zero, or 0 as the bit value if the pixel value is zero.

Just to understand: is a 1-bit TIFF written or a 1-byte TIFF with only
1 bit used?

Markus
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to