Home > Blockchain >  Resize image keeping aspect ratio
Resize image keeping aspect ratio

Time:10-24

After combing through all the solutions here, when applying them in my code, Visual Studio alerts to the fact that the code will only run on windows. Are there any resizing algorithms that will work on ALL OS? MAC and Windows ?

I am running a Blazor server application so the code will be running on .Net core. Thanks.

Update : enter image description here

CodePudding user response:

I did solve this eventually by just adding a "Width" property to my image, Bootstrap "fluid" class property then resized for me. Note, for responsive to work, no height property was added, only the width.

  • Related