Help with bitmap images

New to pebble development and do not have coding experience.

I have been checking out CloudPebble and have been able to build a few basic watchfaces, however had not yet tackled linking resources such as images.

I am following Images // Pebble Developers for the Emery format. I have reduced my image size to 200x228, reduced its colors to the ones listed in the KB using the photoshop download. In photoshop I set the colors and then export as web image to png-24 with transparency disabled. It failed to load in CloudPebble still..

Is there a tutorial for dummies or a tool for converting images to pebble formats?

Thanks in advance!

1 Like

There isn’t a “pebble format” - Pebble uses png files for bitmaps. The palletized color pallete might even be optional. I ignored it and was able to have an image be displayed, although the conversion in the black/white firmware were not as nice as I would like them to be

Do you have any code or project structure that you can share? What have you added to your package.json?

Are you seeing any errors?

1 Like

I think I’ve ONLY used PNGs with palette, not 24-bit.

Are any images working for you? watchface_JupiterMass/resources/images/n7_logo_icon_c_pebble_mono~color.png at master · clach04/watchface_JupiterMass · GitHub used to work for me :slight_smile: if you want a test image to play with

2 Likes

No not even that image works.. is it a bug with CloudPebble?

1 Like

I’ve imported an older project into CloudPebble, and the images don’t show up in the settings and stuff but work if you compile and run it on the emulator.

See for example this:

1 Like

Thanks Chris, that confirms its a bug. I think I was getting hung up on that, I will try ignoring it and compiling my project.

Posted my first watchface! Thanks for the help everyone. Deku - My Hero Academia

1 Like

@randylaheyjr congrats!

@ChrisEilander I think this is resolved/fixed now? CloudPebble images are showing for me with an imported project

Yeah, I posted an issue for it on github and its fixed now.