This page documents the card theme format of the card themes used by Aisleriot.
A card theme consists of a single SVGZ image that's laid out in 5 equal rows and 13 equal columns. In the first four rows, the columns contain, from left to right, the ace, 2, 3, 4, 5, 6, 7, 8, 9, 10, jack, queen, and king. The first row contains the clubs, the second row the diamonds, the third row the hearts and the fourth row the spades. The fifth row contains the black joker, the red joker and the card back in the first three columns; the remaining columns are unused.
The SVG image must be structured such that part of the image containing a card can be addressed with a special XML ID depending on the card. These IDs are for the form suit_rank, where rank is one of 1, 2 ,3, 4, 5, 6, 7, 8, 9, 10, jack, queen, king and suit is one of club, diamon, heart, spade; as well as the three extra cards black_joker, red_joker and back.
You can get template files from the http://git.gnome.org/browse/aisleriot/tree/cards.