Image 01
profile-image

ChaseKiwi

test
Luna II

Plasma 5 Applets 5 comments

Score 70.0%
Nov 05 2019
Thanks dxtwjb for your work. The original svg artwork is low resolution. I did a quick hack of the files to get high resolution (actually smaller file size). Can't post here as did not use clearly declared public domain image of full moon but any one who has one in 80X80 png format say can do my hack on 2.0.3 file.

Actions are:
1)Find a full moon image (for your hemisphere) and resize to 80*80 with background colour to alpha (GIMP) and save as .png
2) Create an SVG embedded png file in Inkscape and copy the resulting image file extract in say KWrite. it will look something like width="80"
height="80"
preserveAspectRatio="none"
xlink:href="data:image/png;base64, ... "
id="image1002"
/>
Decompress the package zip file
3)Edit each image found in package>contents>data manually in KWrite by pasting over all the data except the most external layer that contains the shadow for that phase of the moon. eg fully functional luna-gskbyte0.svg looks something now from the layer 1 declaration like:
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-337.14285,-523.79075)">
id="g3384"
transform="matrix(0.91895099,0,0,0.9030226,206.96513,91.716776)">
transform="matrix(0.11607438,0,0,0.11759928,141.65905,478.54412)"
id="g7309">
width="750"
height="750"
preserveAspectRatio="none"
xlink:href="data:image/png;base64, ..."
id="image3452"
x="0"
y="0" />

inkscape:connector-curvature="0"
style="opacity:0.85;fill:#000000;fill-opacity:1;stroke:none"
id="path7463"
d="m 228.29379,522.77096 c 0,24.46382 -19.26653,44.29566 -43.03299,44.29566 -23.76647,0 -43.033,-19.83184 -43.033,-44.29566 0,-24.46386 19.26653,-44.2957 43.033,-44.2957 23.76646,0 43.03299,19.83184 43.03299,44.2957 l 0,0 z" />


4) after your manual edit of each svg file you will need to fine tune it in inkscape so size of your embedded picture matches size shadow and are exactly superimposed. eg you will need to ungroup for editing, regroup and resize group to coordinates 0,0 ,80,80.
5) create the zip file of your package and install in usual way (eg $ plasmapkg2 -i package)

Do note you have to uninstall any Luna II widget you had previously and due to image caching if you check as you go you can get old images unless you logout

Cheers - May 06 2017
Luna II

Plasma 5 Applets
by dxtwjb

Score 70.0%
9   May 06 2017