Seite 1 von 1

[Module] Icon - Unterstützung (all OS)

Verfasst: 20.04.2020 14:17
von Thorsten1867
Modul zu Unterstützung von Icons (all OS / 64Bit)

Speichern von Bildern als Icons oder das Erstellen von Icons mit mehreren Größen. (*.ico/*.icns)

Code: Alles auswählen

; Icon::Save()      - similar to 'SaveImage()' [#MacOS|#Windows|#Cursor] 
; Icon::Create()    - create a new icon with several sizes [#Windows|#MacOS]
; Icon::AddImage()  - add an image to the icon
; Icon::Close()     - close and create the icon
Download: UseIconModule.pbi

Re: [Module] Icon - Unterstützung (all OS)

Verfasst: 20.04.2020 15:02
von Derren
Geil! :) Danke :)

Das einzige, was noch geiler wäre, wäre irgendeine Funktion, die PNGs im Speicher in ICO umwandelt (also ohne eine .ico-Datei zu speichern).
Somit könnte man endlich PNGs als Window/Systray Icons nutzen.

Re: [Module] Icon - Unterstützung (all OS)

Verfasst: 20.04.2020 18:43
von Thorsten1867
Update: Icon::Encode() [#ImagePlugin_ICO|#ImagePlugin_ICNS]