# BITMAP file to HEX string

**URL:** <https://discourse.nodered.org/t/bitmap-file-to-hex-string/71272>\
**Category:** General\
**Tags:** function-node\
**Created:** [26 November 2022 03:10 UTC](https://discourse.nodered.org/t/bitmap-file-to-hex-string/71272 "2022-11-26T03:10:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TWINMIND](https://avatars.discourse-cdn.com/v4/letter/t/cc9497/32.png) [@TWINMIND](https://discourse.nodered.org/u/TWINMIND)\
**Post date:** [26 November 2022 03:10 UTC](https://discourse.nodered.org/t/bitmap-file-to-hex-string/71272/1 "2022-11-26T03:10:01Z")

</div>

Hi everyone  
Is there a simple way to convert a BITMAP file into a string of HEX (...0x00, 0x1f, 0xf8, 0xff, 0xf8, 0x00, 0x00...) ?  
Like this tool do  
[https://javl.github.io/image2cpp/](https://javl.github.io/image2cpp/)

The real story is: I want to automate the production of HEX data for an Arduino display.  
Many thanks

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [26 November 2022 07:10 UTC](https://discourse.nodered.org/t/bitmap-file-to-hex-string/71272/2 "2022-11-26T07:10:49Z")

</div>

Can you provide a sample image and a sample binary that works for your device?

I am certain node-red-contrib-image-tools will do what you want.

---

<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:** [25 January 2023 07:11 UTC](https://discourse.nodered.org/t/bitmap-file-to-hex-string/71272/3 "2023-01-25T07:11:49Z")

</div>

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