dolphin zoom
Maciej Mrozowski
reavertm at poczta.fm
Wed Feb 4 17:49:12 GMT 2009
On Wednesday 04 of February 2009 18:05:24 Andreas Pakulat wrote:
> That would mean a build-dependency on such a tool for _everybody_ that
> wants to build kde4. Thats quite an insane requirement, apart from that
> IIRC the output quality of the various tools differs and those that produce
> good output might not provide an interface to do this from cmake or a
> script.
Actually it seems no deps are needed as there is already ksvgtopng tool build
within kdebase/runtime/pics itself. It's a KDE4 application so it could be
called "reference png renderer". It has very simple syntax and it seems to fit
perfectly to this task (it's used to create those png's in SVN afterall).
All small icons (16x16, or 22x22, possibly others) that may need to be done
manually (svn->png conversion may look bad for them) could be left as they are
now in repository, IMHO there's no point to store bigger icons sets.
I see icon-*.sh files in runtime/pics/oxygen - those seem to be some SVN icon
maintenance scripts - using this approach - they would need to be adjusted (to
work just with files stored in repo - .svg's and manually generated .png's).
As I see in runtime/pics/oxygen/scalable there is export_pngs.sh script that
actually converts .svg's to .png's using:
- inkscape (export scalable image to 512x512 png)
- scale (to destinations icon size like 32x32) icon sets using imagemagick
- add them to svn
This script indeed has too heavy dependencies to be used in build time
(inkscape is gtk/gnome application afterall) - so maybe it would be possible
to use mentioned ksvgtopng tool instead (but first adding .svgz support to it)
--
regards
MM
----------------------------------------------------------------------
Nie boj sie przyszlosci!
Zapytaj wrozke >> http://link.interia.pl/f2049
More information about the kfm-devel
mailing list