Pyxel Edit Forum Archive
ArchiveFeature requests

1-bpp image with hex output

P
pixelplatforms
Jun 25, 2016 at 4:30 pm
Hi there, I'm a PyxelEdit fan and user (obviously), and have recently started programming little games for the Arduboy. It's mostly in C/C++, and for images/bitmaps, you store them as a hex array for using them as sprites (not just for the Arduboy, but in general, really).

Currently, I do my 1bit artwork in PyxelEdit, export a .png, then use a conversion tool to convert the image data into hex values, but obvioulsy it would be awesome to have the ability to either export the image as a string, or even just have a 'view hex' option in the menu that will give you the hex values for the image you are currently working on.

The image conversion can actually done in JS, so translating it to AS3 should be pretty straight forward. If this were an open source project, i would probably just add it in myself (i'm sure i'm not the only person who would find it useful, right?). anywho, just a feature request, if possible, awesome, if not, no biggie! love PyxelEdit, it's absolutely amazing (and my go-to for pixel based art!)

here's an example of the image conversion and output:
http://www.andrewlowndes.co.uk/blog/graphics/arduboy-image-converter