Aspect Ratio Calculator
Resize kutalika ndi kukula pamene kusamalira ofanana aspect ratio.
Zithunzizi zimasintha monga momwe mumalemba.
Zachidule
An aspect ratio calculator keeps an image, video frame or screen in proportion when you resize it, so nothing ends up stretched or squashed. Enter the original width and height and it reduces them to the simplest whole-number ratio (like 16:9) by dividing both by their greatest common divisor. Type a new width and it returns the height that preserves the shape; type a new height instead and it returns the matching width.
Worked example: scaling a 1920×1080 image down to a 1280 width gives a height of 1280 × 1080 ÷ 1920 = 720, keeping the exact 16:9 shape. The tool also reports the ratio as a decimal (1920 ÷ 1080 = 1.778) and the original pixel count in megapixels (1920 × 1080 ÷ 1,000,000 ≈ 2.07 MP).
Photographers, video editors and web designers use it to fit an image into a fixed frame, work out crop dimensions, or check that a monitor and its content share the same ratio before letterboxing appears.
Mafunso ofunsidwa nthawi zambiri
Kodi ndingatani kuti ndizisunga chithunzi m'ma proportions pamene ndikusintha kukula kwake?
Kugawa kutalika kwa asalo ndi kutalika kwa asalo kuti atenge kusiyana, ndiyeno kuwonjezeka kutalika kwanu kwatsopano ndi (kutalika kwa asalo ÷ kutalika kwa asalo). Kukula 1920 × 1080 pansi pa 1280 kutalika kumapatsa kutalika kwa 1280 × 1080 ÷ 1920 = 720.
Kodi zikutanthauza chiyani kuti mtundu wazithunzi ukhale wa 16:9?
1920:1080 onse amagawidwa ndi 120 kuti apereke 16:9, kutanthauza 16 mayunitsi a kukula kwa 9 ya kukula - standard kwa HD video ndi ambiri a monitors.
Kodi ndi ziti zofunikira kwambiri pazosintha?
16:9 ndi mtundu woyenera kwa HD ndi 4K kanema ndi ambiri ma monitors ndi mafoni mu nyanja; 4:3 ndi TV zakale ndi ambiri ma tablet; 3:2 ndi wotchuka mu zithunzi ndi DSLR sensors; 1:1 ndi square (zolemba za anthu); ndi 21:9 ndi ultrawide kapena cinematic.
Kodi ndingapeze bwanji mtundu wa chithunzi?
Enter its pixel width and height as the original dimensions — the calculator divides both by their greatest common divisor to give the simplest ratio. For example 3000×2000 reduces to 3:2.
Kodi chimachitika ngati ine kusintha kukula popanda kuteteza khalidwe?
Kuika zinthu m'mphepete mwa bokosi ndi kusiyana kwa kutalika kwa bokosi kumawonjezera mabala achikasu (kulemba bokosi pamwamba ndi pansi, kapena kulemba bokosi m'mphepete) kuti kusiyana kwa bokosi ndi bokosi likhale lofanana.
Kodi ndi chiyani chimatanthauza chigawochi ngati decimal?
Ndi kutalika kugawidwa ndi kulemera. 16:9 ndi 1.778 ndi 4:3 ndi 1.333 — lalikulu decimal zikutanthauza waukulu, kwambiri anaimirira frame. Ndi zosavuta pamene spec ndi kuperekedwa monga modzimodzi mnda kuposa mlingo wa m'mimba mwake.
API — kugwiritsa ntchito izi calculator kuchokera code
Kuti mudziwe zambiri, pitani ku www.json.org/json.html. Kuti mudziwe zambiri, pitani ku www.json.org/json.html. Chomweko chilichonse chimene mumasiya chimagwiritsa ntchito mfundo yoyamba yomweyi yomwe tsambali limagwiritsa ntchito; mfundo yosadziwika ndi 400, siyiyenera kukhala zero yosadziwika. Onani zonse API docs →
Chithunzi
GET https://calculator.free/api/v1/aspect-ratio/
curl
curl "https://calculator.free/api/v1/aspect-ratio/?ow=1920&oh=1080&nw=1280"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/aspect-ratio/?" + new URLSearchParams({
"ow": "1920",
"oh": "1080",
"nw": "1280"
}));
const data = await r.json();
console.log(data.results);
Zimenezi ndi zowerengera zokhudzana ndi malangizo amtundu uliwonse, si zokhudzana ndi ndalama, zamoyo kapena zokhudzana ndi ndalama.