gdal 0 1 raster do binarny

gdal_translate -ot Byte -co NBITS=1 "0_1_raster.tif" "binary_raster.tif"
Annoying Armadillo