shaoziyang / microbit-lib

all kinds of microbit python drives, libs, examples, etc.
MIT License
50 stars 39 forks source link

help needed generating image for the SnowFlake Extension #8

Open dsssssssss9 opened 2 years ago

dsssssssss9 commented 2 years ago

Hi

Just discovered your wonderful SnowFlake extension.

Assuming i understand correctly first i import t a picture into this utility , click the big green play button. Then i copy the list of hex numbers generated into the ITEM string in makecode?

However whatever picture i import & then copy my display bears no resemblance to the original file. However if use the demo.bmp file from your microbit-lib/neopixel/neo_16x16_img/ it works.

What am i doing wrong - my guess is that the original picture needs to be formatted in a specific way?

Any help & example code would be really gratefully received - i want to show how to do this to a friend in USA who runs coding club for children - i am sure they would love to be able to create & display their own pictures

shaoziyang commented 2 years ago

Hi,

First, prepare a 16x16 pixel picture. The picture should be as simple as possible, with fewer colors and a black background (this is very important). Then use the software to convert the picture.

Here is an example image.

clock

dsssssssss9 commented 2 years ago

Hi

I really appreciate your help with this ..

Will try as you suggest & hopefully not have to bother you again

Regards