Icon-slicer

Jul 20, 2023

Utility for generating icon and cursor themes

icon-slicer is a utility for generating icon themes and libXcursor cursor themes.

The inputs to icon-slicer are conceptually A a set of multi-layer images, one for each size B a XML theme description file

Each image contains all the cursors arranged in a grid; for cursors the layers are

  • a layer with a dot for the hotspot of each cursor
  • the main image or first animation frame for multi-frame animated cursors
  • the second animation frame for multi-frame animated cursors

For icons, the layers are

  • a layer with the images
  • an optional layer with attachment points for emblems
  • an optional layer with boxes for embedding text into icons

In practice, since loading of multilayer images is not supported by standard image libraries, each layer is input as a separate image file.



Checkout these related ports:
  • Zphoto - Zooming photo album generator
  • Zint - Barcode generator (library and utilities)
  • Zimg - Image-generator that uses ASCII input files to create PNGs/EDFs
  • Zgv - Graphics viewer for SVGAlib
  • Zbar - ZBar barcode reader
  • Zathura - Customizable lightweight pdf viewer
  • Zathura-ps - PostScript support for Zathura PDF viewer
  • Zathura-pdf-poppler - Poppler render PDF plugin for Zathura PDF viewer
  • Zathura-pdf-mupdf - MuPDF render PDF plugin for Zathura PDF viewer
  • Zathura-djvu - DjVu support for zathura
  • Zathura-cb - Comic book plugin for Zathura PDF viewer
  • Yukon - Real-time capture tool for OpenGL applications
  • Yed - Editor for graphs and diagrams
  • Yafaray - Montecarlo raytracing engine
  • Yacreader - Yet another comic reader