Loading PBM files with imageio now returns an array of boolean. This converts the image to uint8 with 0 or 255 values like before.