Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rule of three for image ratio
Message
From
10/03/2016 16:40:14
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Rule of three for image ratio
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01632814
Message ID:
01632814
Views:
57
I have a rule of three in regards to image ratio that I am trying to achive.

I have an image of 800x532. That is a ratio of 1.5.

The standard ratio I need to obtain is 0.83.

So, as the width is greater than the height on that image, I need to lower the width until it would match the 0.83 ratio.

Basically, it would be 442.

I am trying to find the proper mathematical routine here.

Anyone would be able to see it right away?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform