openmamba_Circles.png: use .png source to workaround current convert problems on x86_64 (white output)

Makefile: fix resizing of resolutions not matching aspect by first resizing by height rather than width
This commit is contained in:
Silvan Calarco 2013-08-30 16:06:19 +02:00
parent d753428779
commit b05670b6a8
2 changed files with 8 additions and 3 deletions

View File

@ -114,9 +114,14 @@ locales: $(pck_catalogs:.po=.mo) $(pck_catalogs1:.po=.mo) $(pck_catalogs2:.po=.m
wallpapers: wallpapers:
@for w in openmamba_Circles; do \ @for w in openmamba_Circles; do \
mkdir -p kde/wallpapers/$${w}/contents/images; \ mkdir -p kde/wallpapers/$${w}/contents/images; \
convert src/wallpapers/$${w}.svg +repage -gravity SouthEast -resize 400 -crop 400x250+0+0 +repage kde/wallpapers/$${w}/contents/screenshot.png; \ convert src/wallpapers/$${w}.png +repage -gravity SouthEast -resize 400 -crop 400x250+0+0 +repage kde/wallpapers/$${w}/contents/screenshot.png; \
for s in 1024x768 1280x1024 1280x800 1440x900 1600x1200 1920x1200; do \ for s in 1280x800 1440x900 1920x1200; do \
convert src/wallpapers/$${w}.svg +repage -gravity SouthEast -resize $${s/x*} -crop $${s}+0+0 +repage kde/wallpapers/$${w}/contents/images/$${s}.png; \ convert src/wallpapers/$${w}.png +repage -gravity SouthEast -resize $${s/x*} \
-crop $${s}+0+0 +repage kde/wallpapers/$${w}/contents/images/$${s}.png; \
done; \
for s in 1024x768 1280x1024 1600x1200; do \
convert src/wallpapers/$${w}.png +repage -gravity SouthEast -resize x$${s/*x} \
-crop $${s}+0+0 +repage kde/wallpapers/$${w}/contents/images/$${s}.png; \
done; done done; done
install-kde-distro-addons: dist-update install-kde-distro-addons: dist-update

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 KiB