I have a few files that contain 1bpp black and white images, encoded simply as a stream of bits. Is there any easy way to open these files in Photoshop? In the past I've dealt with RAW 8bpp grayscale bitmaps by opening them as Photoshop RAW, but the dialog for Photoshop RAW only allows choosing a bit depth of 8,16 or 32 bits.
The only solution I've come up with is to write some program to go through the files bit-by-bit and output each bit as either a 0x00 or 0xFF byte to create a file compatible with the formats Photoshop RAW supports, but this seems like such a basic task for an image editor, I find it hard to believe there's no easier way to do this.
I'd also be happy with a script or a (relatively) simple to use tool to do the same thing.