It is currently December 9th, 2021, 4:48 am

Change shape to image

Help with creating, editing & fixing problems with skins
User avatar
David8192
Posts: 152
Joined: July 8th, 2021, 11:30 pm
Location: The King's Avenue, Golden Kingdom

Re: Change shape to image

Post by David8192 »

balala wrote: November 19th, 2021, 10:06 pm I am absolutely sure many will disagree me (not to say will hate me), but as usually there again are more solutions to the same question. In this case the resize can be done either with the Scale parameter, or even with a TransformationMatrix:

Code: Select all

[Resized]
Meter=Shape
X=R
Y=r
Shape = Path Path1 | fill color #Col3# | stroke color #Col# | StrokeWidth 0.265
; | Scale 1.0, 0.6
Path1 = 0, 275.88969 | CurveTo 1.5845361, 282.60202, -0.08997546, 278.21439, 0.47974412, 280.55464 | CurveTo 6.2590388, 287.69098, 2.6893281, 284.64939, 4.322249, 286.40212 | CurveTo 19.654412, 289.72057, 10.132618, 290.26869, 15.153468, 290.89986 | CurveTo 26.629708, 286.10701, 22.209112, 289.05121, 24.62266, 287.82349 | CurveTo 31.174363, 279.71714, 28.636755, 284.39054, 30.230798, 282.18376 | CurveTo 31.932089, 271.92865, 32.117928, 277.25052, 32.402833, 274.52729 | CurveTo 28.389707, 264.97057, 31.461344, 269.33001, 30.228951, 266.86575 | CurveTo 21.065626, 261.43849, 26.459337, 262.98149, 23.830732, 261.63072 | CurveTo 13.566685, 264.32575, 18.300519, 261.24626, 15.430075, 262.27379 | CurveTo 11.657433, 267.96729, 12.63499, 265.35173, 11.961662, 266.61521 | CurveTo 11.881176, 272.06494, 11.353204, 269.31938, 11.422109, 270.75729 | CurveTo 14.310294, 275.3619, 12.340244, 273.37259, 13.19147, 274.54402 | CurveTo 18.198529, 276.61764, 15.429117, 276.17977, 16.812769, 276.6366 | CurveTo 21.640578, 275.6589, 19.401203, 276.60114, 20.584007, 276.23366 | CurveTo 24.475543, 273.44818, 22.697149, 275.08414, 23.633306, 274.30686 | CurveTo 29.110754, 267.92089, 26.160016, 271.73082, 27.479704, 269.68907 | CurveTo 31.843092, 265.58054, 29.926278, 267.0368, 30.823718, 266.21895 | CurveTo 35.205696, 264.35966, 32.862465, 264.94212, 34.009615, 264.48649 | CurveTo 38.682132, 265.06218, 36.401777, 264.23284, 37.647979, 264.44796 | CurveTo 40.764706, 267.88234, 39.716284, 265.67636, 40.519118, 266.70489 | CurveTo 40.046915, 271.62688, 41.029436, 269.15156, 40.646419, 270.47727 | CurveTo 37.960116, 274.90718, 39.447412, 272.77649, 38.637321, 273.80155 | CurveTo 36.726677, 278.5437, 37.282911, 276.0128, 36.727988, 277.24717 | CurveTo 37.182133, 280.41312, 36.726021, 279.19197, 36.868606, 279.84572 | CurveTo 38.580882, 281.71322, 37.495659, 280.98053, 37.985266, 281.4573 | CurveTo 40.009245, 281.93072, 39.02779, 281.90524, 39.524446, 281.97034 | CurveTo 41.408098, 281.54314, 40.494044, 281.89112, 40.967401, 281.74902 | CurveTo 43.740929, 279.81058, 42.289492, 281.13139, 43.030807, 280.4755 | CurveTo 45.98605, 277.95534, 44.451052, 279.14566, 45.151997, 278.45609 | CurveTo 47.325001, 277.38945, 46.403076, 277.70496, 46.852187, 277.50366 | CurveTo 48.772058, 277.34555, 47.797816, 277.27523, 48.295193, 277.24968 | CurveTo 50.246479, 278.07357, 49.314951, 277.45474, 49.820593, 277.71962 | CurveTo 51.302804, 279.34519, 50.672366, 278.42751, 51.020796, 278.86861 | CurveTo 52.496282, 282.43723, 51.86682, 280.29834, 52.165032, 281.3804 | CurveTo 53.90701, 285.42283, 52.827531, 283.49406, 53.210112, 284.56205 | CurveTo 55.173955, 286.47879, 54.255459, 285.85323, 54.681251, 286.22601 | CurveTo 56.779411, 286.80879, 55.66666, 286.73157, 56.228093, 286.86078 | CurveTo 58.508054, 285.99647, 57.424876, 286.74789, 58.034787, 286.43959 | CurveTo 59.545722, 284.3724, 58.981321, 285.55336, 59.322953, 284.98125 | CurveTo 59.954235, 280.52686, 59.99126, 283.15469, 59.969157, 281.82343 | CurveTo 60.437382, 276.69485, 59.939315, 279.23029, 59.944435, 277.89415 | CurveTo 61.552543, 275.12483, 60.683863, 276.09521, 61.054031, 275.53934 | CurveTo 63.330883, 274.43378, 62.051056, 274.71032, 62.682632, 274.44386 | CurveTo 65.302105, 275.16246, 64.045149, 274.42268, 64.74063, 274.72082 | CurveTo 66.684247, 276.7864, 65.86358, 275.6041, 66.303072, 276.18225 | CurveTo 67.774993, 278.63091, 67.065422, 277.39056, 67.394338, 278.02643 | CurveTo 69.154412, 280.25731, 68.155649, 279.2354, 68.594077, 279.81423 | CurveTo 71.804928, 281.23653, 69.904573, 280.8505, 70.850604, 281.17424 | CurveTo 74.608698, 280.75223, 72.759252, 281.29883, 73.720875, 281.10774 | CurveTo 79.166456, 277.33798, 76.384344, 280.04122, 77.833101, 278.70933 | CurveTo 83.372633, 273.45313, 80.499811, 275.96662, 81.779728, 274.51196 | CurveTo 85.969774, 272.26754, 84.169085, 272.92372, 85.041629, 272.4981 | CurveTo 88.808823, 272.24994, 86.89792, 272.03697, 87.884005, 272.00639 | CurveTo 91.20244, 273.58179, 89.700018, 272.48465, 90.514861, 272.96815 | CurveTo 92.933864, 275.72426, 91.890018, 274.19543, 92.454916, 274.93691 | CurveTo 95.365275, 280.68733, 93.891759, 277.29897, 94.511596, 279.05378 | CurveTo 99.034273, 284.69661, 96.218953, 282.32089, 97.37649, 283.89099 | CurveTo 101.71794, 285.17456, 99.863165, 285.09942, 100.80404, 285.29336 | CurveTo 104.09559, 283.89701, 102.63183, 285.05575, 103.51293, 284.61103 | CurveTo 104.84873, 282.24534, 104.482, 283.42348, 104.73038, 282.84496 | CurveTo 104.86513, 280.42113, 104.96708, 281.64573, 104.95843, 281.02515 | CurveTo 103.65812, 276.97119, 104.67847, 279.2131, 104.16259, 278.0846 | CurveTo 102.4886, 273.5103, 103.15364, 275.85778, 102.64939, 274.72205 | CurveTo 102.5537, 271.68776, 102.4082, 272.90443, 102.4162, 272.28327 | CurveTo 103.3677, 270.06612, 102.6912, 271.09224, 102.96141, 270.52271 | CurveTo 105.17053, 269.00933, 103.83801, 269.53759, 104.48232, 269.17336 | CurveTo 107.26948, 269.06843, 105.85874, 268.8453, 106.58821, 268.8776 | CurveTo 110.55124, 271.61958, 108.63201, 269.45006, 109.76252, 270.44482 | CurveTo 112.23279, 275.49982, 111.33996, 272.79435, 111.82129, 274.14601 | CurveTo 113.55887, 279.52936, 112.64429, 276.85364, 112.99593, 278.23119 | CurveTo 121.92083, 286.74898, 115.07671, 283.02958, 118.21806, 285.82981 | CurveTo 127.58348, 286.71808, 123.77221, 287.20857, 125.73955, 287.20675 | CurveTo 132.48534, 283.897, 129.42741, 286.22944, 131.143, 285.25234 | CurveTo 135.36926, 277.52968, 134.16146, 282.20465, 135.23805, 279.90796 | CurveTo 133.02274, 270.98775, 135.50047, 275.1514, 134.66163, 272.71618 | CurveTo 126.58008, 268.50174, 131.38385, 269.25932, 128.95225, 268.2867 | CurveTo 123.23381, 269.65068, 125.39399, 268.60926, 124.23339, 269.00323 | CurveTo 120.83828, 272.24993, 122.23423, 270.29813, 121.39829, 271.19886 | CurveTo 120.47145, 278.11089, 119.89002, 274.0297, 119.77392, 276.21874 | CurveTo 124.47799, 282.4411, 121.16899, 280.00304, 122.65526, 281.57827 | CurveTo 131.78122, 282.92838, 126.72516, 283.50485, 129.35828, 283.48581 | CurveTo 138.7648, 280.33987, 134.20416, 282.37096, 136.4764, 281.31176 | CurveTo 145.89328, 278.25823, 141.0532, 279.36798, 143.41589, 278.4677 | CurveTo 149.59327, 278.54397, 147.13198, 278.1535, 148.39164, 278.22553 | CurveTo 152.86769, 280.25728, 150.79491, 278.86243, 151.93777, 279.4323 | CurveTo 156.21552, 284.5365, 154.22529, 281.46168, 155.06433, 283.13349 | CurveTo 158.25171, 286.31823, 156.79111, 285.238, 157.45659, 285.88095 | CurveTo 160.87505, 286.80876, 159.04682, 286.75551, 159.98305, 286.97533 | CurveTo 163.03799, 285.49826, 161.72001, 286.65097, 162.48132, 286.15323 | CurveTo 164.17081, 283.20625, 163.59465, 284.84329, 163.95651, 284.03868 | CurveTo 164.51475, 278.07346, 164.59941, 281.54139, 164.4549, 279.79156 | CurveTo 171.00177, 263.70199, 164.70257, 272.68198, 167.04352, 267.36745 | CurveTo 185.87228, 258.66878, 174.96002, 260.03653, 180.50719, 258.1039 | CurveTo 199.13595, 266.92934, 191.23738, 259.23366, 196.31144, 262.33309 | CurveTo 201.59473, 274.55717, 200.5482, 269.22747, 201.40609, 271.8664 | CurveTo 200.18387, 282.4411, 201.78337, 277.24795, 201.30044, 279.98568 | CurveTo 197.0349, 286.79624, 199.43658, 284.08446, 198.39804, 285.61264 | CurveTo 192.17652, 288.99258, 195.67175, 287.97984, 193.97215, 288.80601 | CurveTo 185.51341, 286.68178, 189.76801, 289.24283, 187.30709, 288.30851 | CurveTo 182.09317, 280.41125, 183.71973, 285.05506, 182.5716, 282.78498 | CurveTo 182.33419, 273.20702, 181.61473, 278.03751, 181.77856, 275.56388 | CurveTo 184.89711, 266.4264, 182.88982, 270.85015, 183.82848, 268.59932 | CurveTo 193.14853, 252.06164, 187.33467, 261.46993, 190.45371, 256.88308 | CurveTo 198.72799, 236.58081, 195.84335, 247.24021, 198.14416, 242.0733 | CurveTo 195.76835, 219.25874, 199.35336, 230.69749, 197.96634, 224.75177 | CurveTo 187.81, 203.40476, 193.57036, 213.76571, 190.57536, 208.63518 | CurveTo 181.23827, 186.97891, 185.04464, 198.17433, 182.47891, 192.76383 | CurveTo 182.71328, 169.61022, 179.99762, 181.19398, 180.16846, 174.95142 | CurveTo 192.8011, 157.41519, 184.9957, 164.81975, 188.97933, 161.0965 | CurveTo 202.36769, 144.86022, 196.62288, 153.73388, 200.47601, 149.818 | CurveTo 203.69963, 135.22939, 203.5317, 141.80955, 203.89025, 138.48901 | CurveTo 201.83461, 125.63639, 203.50902, 131.96977, 202.78222, 128.76105 | CurveTo 195.81623, 107.00728, 199.93939, 119.38707, 197.15135, 113.39972 | CurveTo 199.8319, 67.699381, 193.09865, 93.995756, 196.59667, 80.591948 | CurveTo 203.7061, 48.158651, 201.44951, 61.253097, 203.01083, 54.76833 | CurveTo 202.36769, 28.389637, 204.40138, 41.548973, 204.20998, 34.77534 | CurveTo 192.17647, 12.375, 200.58591, 22.213935, 197.18402, 16.404786 | CurveTo 171.79411, 5.0955881, 186.4739, 7.7858992, 179.08288, 5.7686257 | CurveTo 139.03676, 6.5514706, 160.89557, 4.0892286, 149.95775, 5.8284731 | CurveTo 104.82353, 8.0073528, 127.6451, 7.3056276, 116.19141, 6.9537675 | CurveTo 69.154412, 9.4632353, 92.924977, 9.1101212, 80.884487, 11.742929 | CurveTo 42.948529, 2.9117647, 60.292068, 7.7408738, 51.970027, 3.2585238 | CurveTo 28.006265, 6.185939, 37.800646, 2.7138956, 32.626944, 3.9079617 | CurveTo 16.049225, 15.793135, 23.385586, 8.4639163, 19.316181, 11.809813 | CurveTo 5.8235294, 44.404412, 9.5153124, 23.759779, 6.3073929, 34.11241 | CurveTo 8.0073528, 80.073528, 5.2636379, 56.313564, 8.1406718, 68.151968 | CurveTo 5.4961208, 104.47995, 7.9158448, 88.256268, 6.408416, 96.347714 | CurveTo 6.5514706, 128.84559, 4.5838257, 112.61219, 4.2848712, 120.9825 | CurveTo 22.923219, 158.50483, 9.6898619, 139.73302, 17.399351, 148.61177 | CurveTo 28.681315, 174.38729, 25.685153, 163.45135, 27.937998, 168.77089 | CurveTo 25.477941, 190.72059, 29.424631, 180.00368, 28.554389, 185.96329 | CurveTo 17.260354, 199.55864, 23.288284, 194.10659, 20.123012, 196.71879 | CurveTo 10.919117, 209.64706, 14.397695, 202.3985, 11.710719, 205.69321 | CurveTo 11.953571, 218.54079, 10.325248, 212.61329, 10.863277, 215.71901 | CurveTo 16.30861, 226.48372, 13.043863, 221.36257, 14.665595, 223.94371 | CurveTo 20.864292, 234.32119, 17.951626, 229.02374, 19.634265, 231.55746 | CurveTo 22.566176, 243.13235, 22.094319, 237.08492, 22.860803, 240.12164 | CurveTo 18.417039, 252.32716, 22.23392, 246.52757, 20.570467, 249.68127 | CurveTo 11.021442, 259.37866, 16.263612, 254.97304, 13.62568, 257.17505 | CurveTo 3.7339442, 266.53467, 8.4172029, 261.58227, 5.8085762, 263.82656 | CurveTo 0, 275.88969, 1.6593122, 269.24277, 0.1319383, 272.4808 | ClosePath 1
TransformationMatrix=1;0;0;0.6;0;(([#CURRENTSECTION#:Y]+[#CURRENTSECTION#:H]/2)*0.4)
UpdateDivider=-1
DynamicVariables=1
Note that I commented out the Scale parameter of the Shape option and added the TransformationMatrix option. This requires the DynamicVariables=1 option as well, which also has been added.
Before anyone tells this is completely useless, it might be, however I just wanted to show another way of doing the same.
:lol: I don't think it's useless. The more the options, the better the choices.
For some Reason, the square root of X2 does not involve X

the DA GALLERY 8-)
Rafamear
Posts: 36
Joined: November 15th, 2021, 1:47 am
Location: Brazil

Re: Change shape to image

Post by Rafamear »

death.crafter wrote: November 19th, 2021, 6:54 pm He's saying that the weather icons shown are shapes instead of images. So, he wants to replace the shape meters with image meters.

Fluent is an icon type, especially the icons you see in Windows 11. The OP wants to replace the shapes with them.

@Rafamear strongly suggest you look for Jelle's weather skins in Deviantart or in this forum's weather skin section. You'll find them more like what you want.

Yes, I already use them, the case is... I think it's better to show
https://prnt.sc/204wdbr

Because I think it would be a little difficult to change this skin, I asked myself if there's how I can do the same, but changing images after that
User avatar
death.crafter
Rainmeter Sage
Posts: 1208
Joined: April 24th, 2021, 8:13 pm

Re: Change shape to image

Post by death.crafter »

Rafamear wrote: November 20th, 2021, 2:51 am Yes, I already use them, the case is... I think it's better to show
https://prnt.sc/204wdbr

Because I think it would be a little difficult to change this skin, I asked myself if there's how I can do the same, but changing images after that
Ahh, this one. I think it's better to use shapes on this particular case. It is so because using images will result in positional fluctuations you may not like. Well, if you still insist, I can try in my free time but I don't promise anything.

P.S. you can send the icons you want to use in a zip.
from the Realm of Death
Rafamear
Posts: 36
Joined: November 15th, 2021, 1:47 am
Location: Brazil

Re: Change shape to image

Post by Rafamear »

death.crafter wrote: November 20th, 2021, 5:12 am Ahh, this one. I think it's better to use shapes on this particular case. It is so because using images will result in positional fluctuations you may not like. Well, if you still insist, I can try in my free time but I don't promise anything.

P.S. you can send the icons you want to use in a zip.
Seriously? Thank you very much, but I think I'm giving up on this idea if it already works it's enough I think