Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rule of three for image ratio
Message
De
10/03/2016 16:40:14
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Rule of three for image ratio
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01632814
Message ID:
01632814
Vues:
58
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform