BSD-3-Clause licensed by Ivan Malison
Maintained by [email protected]
This version can be pinned in stack with:gtk-scaling-image-0.1.0.1@sha256:b68b8778543c91b5d5a2ca7c2ad7e4aaad4f303a955805a0cdae3f67e6ff3e22,1221

Module documentation for 0.1.0.1

gtk-scaling-image

gtk-scaling-image provides generic GTK image sizing helpers for Haskell GI applications. It includes:

  • aspect-ratio-preserving pixbuf scaling to a target size
  • CSS-aware border and padding measurement helpers
  • a draw-based auto-fill image widget that scales to allocation without Gtk.Image resize feedback loops

This package was extracted from the shared image widget code used by taffybar and gtk-sni-tray.

Changes

Changelog for gtk-scaling-image

0.1.0.1 - 2026-05-13

  • Fix scaled image rendering on HiDPI displays.
  • Normalize auto-fill icon resolution for menu and tray consumers.
  • Clean up compiler warnings.

0.1.0.0

  • Initial release.
  • Extract generic pixbuf scaling, CSS inset measurement, and draw-based auto-fill image helpers from taffybar and gtk-sni-tray.