How to add/modify an icon of a module (ScriptedLoadableModule)?

Hi all,
I am trying to make a new module of ScriptedLoadableModule. The default icon is like this:
image
Would you please give me some advice on this modification of module icons?
Thanks in advance!

You can change the icon of a scripted module by placing a new icon in this location: “MODULE_DIR\Resources\Icons\MODULE_NAME.png”.

For reference, here is the icon for the SegmentEditor module icon: https://github.com/Slicer/Slicer/blob/master/Modules/Scripted/SegmentEditor/Resources/Icons/SegmentEditor.png

@ Sunderlandkyl
Thank you so much, Kyle! Your instruction is straight clear! Exactly what I need do!

1 Like