I have a simple 512x512 mono image (just like lena8b.raw) which fails to compress -
it causes an assert in FlushStreamEnd that bitpos of 25 is not a multiple of 8.
I simply replace lena8b.raw with this new file (exactly same size), run the test,
and it bombs. I would be happy to send the file to you, just tell me where.