Kitutz / rainmeter

Automatically exported from code.google.com/p/rainmeter
0 stars 0 forks source link

Preserve aspect ration for images #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The Image meter should (optionally) preserve the aspect ration when the
image is scaled.

Original issue reported on code.google.com by kimmo.pekkola on 13 Mar 2009 at 8:30

GoogleCodeExporter commented 8 years ago
Agreed not every image can be properly modified and viewed at a 4:3.
Aspect of image should be maintained when reduced.

Original comment by evmckay on 25 Mar 2009 at 7:14

GoogleCodeExporter commented 8 years ago

Original comment by brian.to...@gmail.com on 16 Apr 2009 at 6:27

GoogleCodeExporter commented 8 years ago
I wrote the code to preserve the aspect ratio,
and attached the source code.

PreserveAspectRatio
If set to 1, aspect ratio of the image is preserved when the image is scaled.
The default value is 0 (the image is scaled to fit the meter's dimension).

Original comment by spx268 on 27 Aug 2009 at 9:16

Attachments:

GoogleCodeExporter commented 8 years ago
Although I actually tried this code, it worked fine. I'll add this code to the 
trunk. 
Thanks so much for your work.

Original comment by kenz0.sa...@gmail.com on 28 Aug 2009 at 7:31