# Help for creating a bit array from a bitmap

**URL:** <https://discourse.nodered.org/t/help-for-creating-a-bit-array-from-a-bitmap/67876>\
**Category:** General\
**Created:** [18 September 2022 09:51 UTC](https://discourse.nodered.org/t/help-for-creating-a-bit-array-from-a-bitmap/67876 "2022-09-18T09:51:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RogierQ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rogierq/32/3211_2.png) [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Post date:** [18 September 2022 09:51 UTC](https://discourse.nodered.org/t/help-for-creating-a-bit-array-from-a-bitmap/67876/1 "2022-09-18T09:51:30Z")

</div>

I am looking for some help to create a bitmap from an 1-bit bitmap.  
So black and white image and then convert it 0-1 array.  
The end result should be something like this for a simple smiley

00000  
01010  
00000  
10001  
01010  
00100

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 November 2022 09:52 UTC](https://discourse.nodered.org/t/help-for-creating-a-bit-array-from-a-bitmap/67876/2 "2022-11-17T09:52:14Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
