[Kde-games-devel] Revised pixmap to svg script

Parker Coates parker.coates at gmail.com
Mon Apr 20 04:24:51 CEST 2009


On Sun, Apr 19, 2009 at 6:49 PM, Luciano Montanaro wrote:
> On domenica 19 aprile 2009, Luciano Montanaro wrote:
>> I tend to agree with you, but there are people hanging on those decks.
>> And on the other side, we miss an SVG deck with german cards for LtSkat.
>> I'd like to address that last part if nobody else beats me. But It will
>> take time...
>> Maybe we could address that with a higher quality hybrid approach for KDE
>> 4.3, anyway (that is, using higher quality pixmaps embedded in an SVG
>> wrapper).
>>
>
> Replying to myself, I just did some work to do that... although there are open
> issues still.
>
> I did not package a deck for kdegames, but the svg file is almost there...
>
> I started from a public domain deck image from wikipedia.
> The problem is that it only has cards for skat.
>
> Anyway, if anybody wants to have a look, the deck (composed of a png file,
> huncards.png and the svg wrapper, huncards-test.svg) is here:
>
> http://www.cirulla.net/listing/kde_stuff/card-decks/
>
> together with the generator script, "generate-huncards.pl".
>
> At the moment the script is specific to generate a skat 32 card deck, with the
> card measures hardcoded... but it could be used as a starting point for a
> generic deck creation script.

Hello Luciano,

Sorry for not replying sooner. I've already converted 3 of the 5 PNG
based scripts using the script you sent me. If you think I should
stop, let me know.

What advantages would a hybrid solution have? Both KDE card games
support SVG decks, so I'm missing the advantage of keeping the cards
around as individual PNGs as well.

As for hanging on to the old cards, I think the ideal solution would
be adding support for GHNS to the deck selector. If that happened, we
could crop down the number of decks shipped with the KDEGames package,
while simultaneously increasing the number of decks available overall.

Parker


More information about the kde-games-devel mailing list