Skip to content

Allow color mapping in drawDCI #1632

@FeralFox

Description

@FeralFox

Describe
The Poco render.drawDCI command current allows to draw a PebbleDrawCommandImage at a certain position. A good addition would be if it would be possible to map the colors of the image to be drawn.

Why do you think this feature would be useful?
I want to draw complex shapes and change their color dynamically. To draw those shapes, I create an SVG and convert them to pdc files. At the moment, I have to add each shape in each color. But it would be way easier and less resource intensive, if I could just have one shape with a specific color (e.g. #ff0000) and change this color dynamically to any other color.

Describe alternatives you've considered
I tried to create a TTF font from the SVGs to be able to dynamically colorize, however, I got another issue there which is documented here #1631

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions