-->
Home » , , » Icon-Slicer is a utility for generating icon themes and libXcursor cursor themes.
Wednesday
17 April 2013

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

icon-slicerIcon-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.

The theme description file contains, among other things, information about
the source  images to read, the location of each named cursor or icon
within the grid, and a set of aliases from names to other names.


Installation.

icon-slicer requires GTK+-2.0 or newer for the gdk-pixbuf image
manipulation library. It probably is already on your system; if not,
it is available from ftp://ftp.gtk.org. It also requires the
popt library from the RPM distribution. (Should be commonly
available on most Linux distributions, even if they don't use RPM.)

Once you have those installed, building icon-slicer is a simple
./configure ; make ; make install. If you installed GTK+ in a
non-standard location, say /opt/gtk, then you will need to set
PKG_CONFIG_PATH to include /opt/gtk/lib/pkgconfig.


Invocation.

icon-slicer takes some number of theme description files as input,
along with options:

  --output-dir=DIRECTORY
    The directory into which to write output. Mandatory.

  --image-dir=DIRECTORY
    The directory in which to find source images. If not
    specified, the current working directory is used.

0 commenti:

Post a Comment

Random Posts

  • Ivtools application frameworks for drawing editors and spatial data servers: F.A.Q.
    23.05.2013 - 0 Comments
    I am unable to read or import anything into an ivtools drawing editor. Do you think your version of ivtools was compiled with gcc-3.0? Or could it have been compiled with a gcc-2.95.3 that was bundled with an early copy of libstdc++-v3? Check out…
  • JGraph is a freely available Java Graph Component for the visualization and layout of graphs.
    31.08.2013 - 0 Comments
    JGraph is a graph drawing open source software component written in the Java programming language; started by Gaudenz Alder as a University project in 2000 at ETH Zurich, Switzerland. The original design for JGraph was to make it an architectural…
  • Top 10 blog posts for January 2014 from Linux & The Planet Games
    21.02.2014 - 0 Comments
    1.- Teslagrad game built around the concepts of magnetism and electricity. Teslagrad is a 2D puzzle-platformer, where you play as a young lad who suddenly finds himself embroiled in an ancient conflict that will shake the foundations of his…
  • The Perfect Server: Ubuntu 11.10 Oneiric Ocelot  With Nginx , Chapter 3.
    10.01.2012 - 0 Comments
    After the reboot you can login with your previously created username (e.g. administrator). Because we must run all the steps from this tutorial with root privileges, we can either prepend all commands in this tutorial with the string sudo, or…
  • 10 of the Best Unity Lenses & Scopes for Ubuntu 11.10 “Oneiric Ocelot” & Ubuntu 12.04 “Pangolin”.
    08.05.2012 - 0 Comments
    It’s somewhat apt that Ubuntu’s ‘Lenses’ feature has brought Unity into clearer focus for many of its initial critics.  The search-orientated display windows – called ‘Lenses’ – make finding specific files, apps or information easy to do…
  • Guides and tutorials for Manjaro: Manjaro Settings Manager.
    09.03.2022 - 2 Comments
     The Manjaro Settings Manager offers you GUI settings, which are either enabled by Manjaro (i.e. installation of multiple kernels and easy installation of non-proprietary and proprietary graphics drivers) or are missing from at least some of…
  • Zorin OS is an Ubuntu-based Linux distribution designed especially for newcomers to Linux
    06.01.2010 - 0 Comments
    Zorin OS is an Ubuntu-based Linux distribution designed especially for newcomers to Linux. It has a Windows-like graphical user interface and many programs similar to those found in Windows. Zorin OS also comes with an application that lets users…
  • Top 10 blog posts for December 2015 from Linuxlandit & The Conqueror Penguin.
    14.01.2016 - 0 Comments
    1.- Dead Cyborg first person view, hard-sci-fi adventure game. Dead Cyborg can be downloaded from the site (I recommend version 002 as it supports mouse look instead of just the arrow keys). To get it running you simply extract it and run one of…
  • The Matroska Multimedia Container is a audiovisual file format that can wrap an unlimited number of video, audio, still picture, and/or subtitle tracks.
    14.01.2013 - 0 Comments
    The 'Matroska Multimedia Container' is an open standard free container format, a file format that can hold an unlimited number of video, audio, picture, or subtitle tracks in one file. It is intended to serve as a universal format for storing…
  • Kchmviewer is a free, open-source chm (MS HTML help file format) viewer written in C++ for Unix.
    17.04.2012 - 0 Comments
    Kchmviewer is a free, open-source chm (MS HTML help file format) viewer written in C++ for Unix. Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget library, and could optionally be compiled for better KDE integration. It does not…

Recent Posts

Recent Posts Widget

Popular Posts

Labels

Archive

page counter follow us in feedly
 
Copyright © 2014 Linuxlandit & The Conqueror Penguin
-->