I'm creating a visual studio extension that does auto-completions and I'm trying to set my own icon on completion items.
The CompletionItem class conveniently has an "icon" property that can be set using the constructor, and it accepts "ImageElement".
However, I can't find out how to create an ImageElement from a file (say, png).
The ImageElement constructor accepts a GUID, and in all the examples I could find, the GUID is the same well-known Microsoft class (Microsoft.VisualStudio.ImageCatalog).
How do I create an ImageElement with my own image?