View Single Post
Old 24th December 2017, 23:52   #28  |  Link
mnm-a
Registered User
 
Join Date: Oct 2015
Posts: 10
Quote:
Originally Posted by vampiredom View Post
To convert a square pixel image to a different PAR is easy. Divide the width by the PAR like such:

640x480 @ 10/11 PAR
640 / (10/11) = 704
704x480

The above example is rather simplistic. In many cases, when converting from square pixels, we'll want to scale the image overall. First we need to determine the scaling factor. To accomplish this, divide the source height by the target height:

Code:
SourceHeight / TargetHeight = ScalingFactor
1280x720 -> 704x480 @ 40/33 PAR
480 / 720 = 0.66666666666666666666666666666667
Sorry, AFAIU this has a mistake.
It should be

Code:
TargetHeight / SourceHeight = ScalingFactor
mnm-a is offline   Reply With Quote