8/9/2023 0 Comments How to resize rainmeter skins![]() You can specify both W and H with PreserveAspectRatio=1, and the image will be scaled by using the larger of the width or height dimensions in the original image, setting that to the user defined value, and setting the other "aspect" to what is needed to preserve the aspect ratio. You can specify W or H alone with PreserveAspectRatio=1, and the image will be scaled to the given value, with the other undefined "aspect" being automatically scaled to preserve the aspect ratio. You can specify both W and H with PreserveAspectRatio=0, and it will scale the image to the exact specified size. If set to 1, the aspect ratio of the image is preserved when the image is scaled. Any area left over from preserving the aspect ratio will be transparent, and the image will be centered in the 100 x 100 area. That will make the image fit in a 100 x 100 area, while not squashing or stretching it. However you can easily set the size of an image to a specific H and W and still retain the aspect ratio. No, there is no way for Rainmeter to know how big an image is originally. If there is any code that mesures the W and H of the image then i can resize them in the code. Resizing them whit W and H is an option but the pictures H/W balance will be broken. So i was searching for a solution in the manual, tips and tricks, forum. ![]() I got alot of pictures and don't want to resize them one by one to fit them. At the moment i'm working on some kind of picture wall.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |