Misc: Is it possible to read black and white image pixels as bits?
DarkoreXOR opened this issue · comments
Can I somehow read a black and white image from a file into a set of bits, where black pixel is 0, white pixel is 1, and then convert these sets of 8+ bits into UTF-8 text?
I'm not sure if there is this function already or if it's worth asking to make.
Not beautiful, but it is doable:
Extract_RGBA(',',false)
From_Decimal('Comma',false)
Find_/_Replace({'option':'Regex','string':'\\x00\\x00\\x00'},'0',true,false,true,false)
Find_/_Replace({'option':'Regex','string':'\\xff\\xff\\xff'},'1',true,false,true,false)
From_Binary('Space',8)
Thank you so much! You helped me a lot, everything works fine. If no one else needs this issue, we can close it.