DistributionTool fails to build with PNGs as Assets #79
-
I refactored the directory structure of the StreamDeck template into my own base project. Using that base The distribution works for the refactored base template with SVG assets using:
However, I decided to use PNGs for my assets and I get the following error when I run the command referencing my project directory. Plugins> .\DistributionTool.exe -b -i com.mydomain.project.sdPlugin -o FinalizedPlugins
DistributionTool using printf
DistributionTool Validating and exporting the plugin com.mydomain.project.sdPlugin
DistributionTool Error: The plugin has an icon "[email protected]" that does not exist.
DistributionTool Error: The plugin is invalid I found a similar issue in discussion 76, but upon further reading I see that the issue is slightly different and the most recent version of either DistributionTool on the website did not work for me. Follow up: I'm able to build the plugin if I convert the PNGs to SVGs. However, the SVGs do not render on the StreamDeck. The SVGs look terrible compared to the original PNGs anyway, this was meant as a proof of concept. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @erikjmurray, Sorry the error message provided by the DistributionTool is not very clear, but when using Since |
Beta Was this translation helpful? Give feedback.
Hi @erikjmurray,
Sorry the error message provided by the DistributionTool is not very clear, but when using
rasterized
images likepng
you will need to provide two copies of the file. You can find the image resolution details in the plugin style guideSince
svg
images can scale to fit their container, butpng
images do not, which is why we require a low and high resolution copy.