Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Icon editor
Icon editor
Can somebody direct me into the right direction on how to edit icons for plugins? 
Re: Icon editor
Simply create a 16x16x32 image (16 x 16 px, RGB with an alpha channel) and save it as a .png file. You can use any decent image editing program you like for this. For example Gimp is a great free image editor. Take a look at EventGhost\plugins\TechnoTrendIr\icon.png for an example.
After you have created the image you can either save it as icon.png in your plugin dir, or you can convert the image into a base64 string and put it in your plugin's icon variable. (take a look at existing plugins for an example of how to do this). You can easily create a small python script to convert the file or use an online tool to convert the file to a base64 string.
-jinxdone
After you have created the image you can either save it as icon.png in your plugin dir, or you can convert the image into a base64 string and put it in your plugin's icon variable. (take a look at existing plugins for an example of how to do this). You can easily create a small python script to convert the file or use an online tool to convert the file to a base64 string.
-jinxdone
Re: Icon editor
Most plugins use the base64 string (which EG just converts back into an image), so I went that way for my plugins. There's a handy script here which does the work for you. You can cut/paste the xml into your configuration, then when you run the action it will open a file chooser to select a png image, and the resulting string will be copied to the clipboard so you can paste it directly into your plugin code.
As jinxdone said, make sure the png is 16x16 with an alpha channel.
Brett
As jinxdone said, make sure the png is 16x16 with an alpha channel.
Brett
Re: Icon editor
I've created several 16x16 png with transparency, and a several variants icons trying to install 'other' icons onto my Nexus 7 with EventGhost; but none of them will load. Is there something I'm missing?