Skip to content

Add plugin for animated Windows cursors (ANI)

Kai Uwe Broulik requested to merge work/kbroulik/ani into master
  • Supports QImageIOHandler::Size for getting the image size without reading a full frame
  • Supports the QImageIOHandler::Name (mapped to INAM) and QImageIOHandler::Description (mapped to IART (artist)) properties
  • Supports per-frame animation delay (rate field)
  • Supports arbitrary frame order (seq field), fakes duplicated frames for Qt so you get a linear set of images.

Rendering the actual embedded cursor pixmap is delegated to Qt's built-in "cur" plugin.

Thumbnail (after adjusting windows image thumbnailer to also load ANIs)

Screenshot_20201226_215515

Viewing its first frame in Kolourpaint (there's no write support)

Screenshot_20201226_215546

Using it from an AnimatedImage

qtimageioqni-2020-12-25_23.36.16

Edited by Kai Uwe Broulik

Merge request reports