gdal 0 1 raster ke biner

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