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

Luciano Montanaro mikelima at cirulla.net
Sat Apr 11 13:21:27 CEST 2009


On martedì 07 aprile 2009, Parker Coates wrote:
> On Wed, Apr 1, 2009 at 11:21 AM, Parker Coates wrote:
> > On Mon, Mar 30, 2009 at 12:46 PM, Luciano Montanaro wrote:
> >> Oh, there was also the png-to-svn deck script, but that needs to run
> >> once only...
> >
> > Is there any reason we haven't proceeded with this? I think it'd be
> > great if we could remove support for PNG based decks in 4.3 as this
> > only clutters up an complicates the card selection dialog. I imagine
> > it would also allow us to remove a lot of code from KCardCache as
> > well. Personally, I don't think all of the PNG decks are really worth
> > converting to SVG, but I guess that's a separate topic.
>
> Because the soft feature freeze is today, I've added the conversion to
> only SVG carddecks to the 4.3 feature plan. I really think this is a
> worthwhile goal for 4.3.
>

Oh, well. Let's do it for 4.3 then. I've far less free time than I'd like at 
the moment, so I can't do much anyway. But this morning I fished out the old 
script to see what else needed to be done and changed it a bit to make it 
embed the pixmaps. It turned out to be easier than I thought.

The attachents contain the revised script together with a sample converted 
deck. The script does not (yet) provide a back card image for the deck, 
basically because I've not yet looked at how that is specified.



-- 
Luciano Montanaro //
                \X/ mikelima at cirulla.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: generatesvgdeck
Type: application/x-perl
Size: 2050 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20090411/a6e1b367/attachment-0001.pm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svg-default.svg
Type: image/svg+xml
Size: 39244 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20090411/a6e1b367/attachment-0001.svg 


More information about the kde-games-devel mailing list