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:
parent
d753428779
commit
b05670b6a8
11
Makefile
11
Makefile
@ -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
|
||||||
|
BIN
src/wallpapers/openmamba_Circles.png
Normal file
BIN
src/wallpapers/openmamba_Circles.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 790 KiB |
Loading…
Reference in New Issue
Block a user