Support png files as icons

Amadawn
2011-02-12
2013-01-25
  • Amadawn
    Amadawn
    2011-02-12

    I'd be nice if it were possible to use png files as icons. Also, it'd be nice if PythonScript had a default icon for scripts since it seems that unless you select an icon for a script it will not be added to the toolbar (even if you add it in the PythonScript configuration).

    Cheers,

    Angel

     
  • There is a default icon - it's the little Python icon.  Can't think of any reason why you wouldn't have it - it's an embedded resource in the DLL.

    PNG files can't be used as Notepad++ expects bmp data for the images.  The plugin is big enough at the moment without image converters being linked in too - however if someone suggested a small, lightweight ,easy to use C++ image converter library, I might be tempted to put automatic conversion in :)

     
  • Amadawn
    Amadawn
    2011-02-12

    Umm, that is weird. When I first tried it yesterday it did not work. I think that what happened is that I selected an invalid icon filen and this made notepadd++ fail to create the corresponding icon.

    Thanks!

    Angel