Page 1 of 1

[Module] ImageEx - Gadget (all OS)

Posted: Mon Sep 09, 2019 12:07 pm
by Thorsten1867
Extended Image Gadget - Module (all OS / 64Bit / DPI)
  • Display images with the correct proportions
  • Automatic adjustment of too large images
  • Automatic centering of too small images
  • Dynamic image frame
  • Adding text [#Center/#Right/#Left | #Top/#Middle/#Bottom | #FitText]
  • Support for animated GIF & PNG
  • Support for SVG images
  • Automatic size adjustment of the gadget

Code: Select all

; ImageEx::AttachPopupMenu()    ; attachs a popup menu to the gadget
; ImageEx::DisableReDraw()      ; enable/disable redrawing of the gadget
; ImageEx::Gadget()             ; creates a new gadget
; ImageEx::SetAutoResizeFlags() ; [#MoveX|#MoveY|#Width|Height]
; ImageEx::SetColor()           ; similar to SetGadgetColor()
; ImageEx::SetFont()            ; similar to SetGadgetFont(), but FontNumber instead of FontID
; ImageEx::SetFlags()           ; adds flags to the gadget
; ImageEx::SetMargins()         ; define margins
; ImageEx::SetState()           ; similar to SetGadgetState(), but ImageNumber instead of ImageID
; ImageEx::SetText()            ; similar to SetGadgetText()
; ImageEx::ToolTip()            ; similar to GadgetToolTip()
Download: ImageExModule.pbi

Re: [Module] ImageEx - Gadget (all OS)

Posted: Wed Apr 22, 2020 7:52 pm
by Thorsten1867
Update: Support for animated GIFs

Re: [Module] ImageEx - Gadget (all OS)

Posted: Wed Apr 22, 2020 8:50 pm
by Andre
Another handy one, thank you :D

A little bug: change the standalone example to use "#Example = 0" and you will see the "Image not initialized" error...

Re: [Module] ImageEx - Gadget (all OS)

Posted: Sat Apr 25, 2020 9:50 am
by Thorsten1867
Update:
  • Support for animated PNGs (APNG)
  • Support for SVG images