convert Image object from L to 1 when doing Binary scan so the file size is smaller