"tilemapper" tool for tile-mapped anti-aliased graphics

Hey folks,

Here's my command line tool that helps developers build tile-mapped anti-aliased graphics for Garmin wearables;
github.com/.../garmin-tilemapper

Way back in 2017, I showcased a tile-map sprite technique to compress graphics;
forums.garmin.com/.../my-technique-for-anti-aliased-animation-and-bitmaps

You've probably seen my anti-aliased watchfaces in the app store. 
https://apps.garmin.com/en-US/developer/e43b20dc-99b5-4906-ae38-65b36a68b208/apps

This is one of the tools I have been using to develop them.

As a handy extra, I've also included two sample watchfaces, and their artwork. This includes a new "steamboat willie" watchface.

The great thing about this approach, is that you can scale your designs seamlessly across many different devices and resolutions.

Please be mindful that this is the first release, so your milage may vary with bugs, and platform support. Happy to hear your feedback.

Can't wait to see what you all create!! Slight smile

  • you are so nice, i honestly really appreciate it

  • only thing i need is your github :)

  • No problem, a pet peeve of mine is lack of highly detailed instructions but I understand not everyone has time to write them.


    Here you can see the code: https://github.com/IssBjorn/Watchface

    Let me suggest you compare it to the code you have to see whats missing, that way you can maybe understand some of your error codes.

    Also your dial seems a bit too small for epix gen 2 on simulator and the hands in 0-29 positions go a bit wonky it looks like. 

    You might have to recreate a few of the resources to fix that, i’m not sure there. But I hope this helps.

  • hi all, there seem to be a bug with my cmd (command), i done at least 10 tiles (for the hands) everything was fine.  but now, when i try to create another one, it dosen't work, all it does is jumping to the other line, no exection, nothing as you can see in the image below:

    what could be wrong?  is something uninstall? should i do something else?

    C:\Users\Jay\Desktop\garmin-tilemapper-master>python tilemapper.py -i C:\Users\Jay\Desktop\garmin-tilemapper-master\4.png -o C:\Users\Jay\Desktop\garmin-tilemapper-master\newtest\hour-0-14 -m rotate -r 416 -u 0 -v -84 -s -6

    C:\Users\Jay\Desktop\garmin-tilemapper-master>

    so it just jump one line down....what is wrong?  :(

  • Could it be how you run it? Copy this directly into the command line, it’s how i’d usually run it:

    python C:\Users\Jay\Desktop\garmin-tilemapper-master\tilemapper.py -i C:\Users\Jay\Desktop\garmin-tilemapper-master\4.png -o C:\Users\Jay\Desktop\garmin-tilemapper-master\newtest\hour-0-14 -m rotate -r 416 -u 0 -v -84 -s -6

    I also found I wasn’t recieving an output when I used certain image types, I believe pillow (the module python uses to deal with images) can be a bit tempermental.

  • i am so sorry my friend for all the troubles i am giving you...honestly i appreciate it.  I am just trying so much to have that watch but i am about to give up.  I have tried what you told me and look at the text it gave me:

    C:\Users\Jay\Desktop\garmin-tilemapper-master>tilemapper.py -i C:\Users\Jay\Desktop\garmin-tilemapper-master\4.png -o C:\Users\Jay\Desktop\garmin-tilemapper-master\newtest\hour-0-14 -m rotate -r 416 -u 0 -v -84 -s -6
    Traceback (most recent call last):
    File "C:\Users\Jay\Desktop\garmin-tilemapper-master\tilemapper.py", line 3, in <module>
    from PIL import Image, ImageOps
    ModuleNotFoundError: No module named 'PIL'

    i tried with a picture i have already tested (i have used that one before and it did ok)., i think something is wrong since i turned off my computer a couple of days ago.  I normally leave it on and put it in sleep mode.  What do you think of that?  what can i do?   Disappointed

  • run this in command line:

    pip install Pillow

    if it says you don’t have permission to do that run command line as an administrator and enter

    python -m pip install Pillow

  • I've tried that at least 10 times but i did it again so you can see:

    C:\WINDOWS\system32>pip install Pillow
    Requirement already satisfied: Pillow in c:\python311\lib\site-packages (9.3.0)

    C:\WINDOWS\system32>python -m pip install Pillow
    Requirement already satisfied: Pillow in c:\python311\lib\site-packages (9.3.0)

    honestly i don't get it, but hey, thank you so much for your help, you really seem to be a nice guy 

  • I’m sorry I wasn’t able to be of more help, the only other thing I can offer is attempting it on my computer if you share it to your github. By the way if you want to make watchfaces but can’t be bothered to do it in eclipse (like me, for some reason I don’t mind apps, datafield or widgets but watchfaces are confounding) i’d highly recommend this tool: https://garmin.watchfacebuilder.com

  • i would be ready to pay you, if you could just do the watch hands.  I have tried so many times but nothing works.  I have tried watchfacebuilder but there is not enought things i want to do on that.  i was on a good run just before tilemapper stopped working  Disappointed

    i will put on my github all the png files i got so you can try and if you have time maybe we can disscuss about a price for building the hands....i don't know how much it would be worth but we can disscuss IF you have time.

    github: https://github.com/JayBouch1977/tilemapper-test

    i added documents: 

    - original transparent background

    -blackedout hands

    Thank you very much again

    p.s.: maybe we can chat with messenger , could be easier