Proportional Scaler (Image resize size caliculation, image ratio)
Ex:
step 1) Original Width = 900px;
step 2) Original Height = 300px;
step 3) Ratio = Original Width/Original Height
Step 4) Want Height from New Width (700px)
a) New Height = New Width / Ratio
OR
Step 4) Want Width from New Height (250px)
a) New Width = New Height * Ratio
Comments
Post a Comment