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