အကောင်းဆုံးအခမဲ့ SVG မှ PNG ပြောင်းပြန်
PNG, JPG, WebP သို့မဟုတ် PDF ကိုသင်ရွေးချယ်တဲ့စကေးမှာ SVG ကို rasterize - အခမဲ့, မှတ်ပုံတင်ခြင်းမရှိပါ.
လုပ်ဆောင်ပုံ
- တင်ရန်. SVG ဖိုင်ကို ရွေးပါ (100 MB အထိ)။
- ပုံစံနဲ့ စကေးရွေးပါ. PNG, JPG, WebP သို့မဟုတ် PDF ကိုရွေးချယ်ပါ၊ ဖြေရှင်းချက်အတွက်စကေးအချက်တစ်ခု။
- ဒေါင်းလုပ်လုပ်. ရစ်သ်စတာ ရုပ်ပုံကို အလိုအလျောက် ကူးယူတယ်၊ ဘာမှ မသိမ်းဆည်းဘူး
ကိရိယာအကြောင်း
SVG to PNG rasterizesascaleable SVG vector intoafixed-size image - PNG, JPG or WebP - or intoaPDF. It's what you need whenatool, platform or document will not accept an SVG and wants an ordinary image instead. You pickascale factor, so you can render the SVG larger foracrisp, high-resolution result rather than being stuck at its default size. Transparency is kept for PNG and WebP and flattened onto white for JPG. No watermark, no signup, processed in memory.
လူတွေဘာအတွက်သုံးပါသလဲ
- SVG ကို SVG များကို ငြင်းပယ်တဲ့ ပလပ်ဖောင်းအတွက် PNG အဖြစ် ပြောင်းပါ
- ဗီကိန်း အမှတ်အသားကို မြင်ကွင်းကျယ် မြင်ကွင်းခွဲနိုင်မှုနဲ့ ထုတ်လုပ်ပါ
- SVG မှ JPG သို့မဟုတ် WebP ကိုဝက်ဘ်အတွက်ရယူပါ
- ပုံနှိပ်ဖို့ SVG ကို PDF သို့ ပို့ပါ
ဖန်တီးသူ API
သင့်ရဲ့ကိုယ်ပိုင် code ကိုမှဤ tool ကို Automate. အောက်ပါ endpoint ကို POST ကိုတောင်းဆိုချက်ကိုပို့ပြီး web tool ကိုထုတ်လုပ်အလားတူရလဒ်ကိုရယူ. ဒါဟာ IP ကိုတစ်ဦးနှုန်း-limited ဖြစ်ပါတယ်နှင့် signup မရှိလိုအပ်ပါသည် - မြင့်မားသောကန့်သတ်များအတွက် API ကို key ကိုလာကြပြီ.
https://best.free/api/tools/svg-to-png/
| သတ်မှတ်ချက် | နမူနာ | လိုအပ်သည် | မှတ်စုများ |
|---|---|---|---|
file (ဖိုင်) |
image.svg |
အင်း | SVG file, ≤25 MB. |
format |
png |
ဟုတ်တယ် | png / jpg / webp / pdf. |
scale |
1 |
ဟုတ်တယ် | Scale factor 0.1-8. |
curl -X POST https://best.free/api/tools/svg-to-png/ \
-F 'file=@image.svg' \
-F 'format=png' \
-F 'scale=1' \
-o image.png
import requests
files = {"file": open("image.svg", "rb")}
data = {"format": "png", "scale": 1}
r = requests.post("https://best.free/api/tools/svg-to-png/", files=files, data=data)
with open("image.png", "wb") as out:
out.write(r.content)
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("format", "png");
fd.append("scale", 1);
const r = await fetch("https://best.free/api/tools/svg-to-png/", { method: "POST", body: fd });
const blob = await r.blob(); // the image.png
တုံ့ပြန်မှု: The rasterized image (PNG/JPG/WebP) or PDF.