(35S) Photo resolution from MPixels and aspect ratio - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (35S) Photo resolution from MPixels and aspect ratio (/thread-17134.html) |
(35S) Photo resolution from MPixels and aspect ratio - mchris - 06-18-2021 08:04 PM For those of us who engaged in photography, we sometimes want to find the horizontal and vertical resolution of a sensor from the Megapixels (P) and aspect ratio (R). The following program uses only the stack (Y=Megapixels, X=Ratio) and the answer returned to X=Horizontal res. and Y=Vertical res. The program is based on the formulas:HRes=SQRT(P*R), YRES=SQRT(P/R). Code: P001 LBL P |