面向初學者:JPG、PNG 和 WebP 的區別
要點
- 照片用 JPG,文字和圖表用 PNG
- WebP 很輕,但在舊環境中可能無法使用
- 拿不準:照片用 JPG,圖表用 PNG
Image formats come in many kinds: JPG, PNG, WebP and more. Without knowing the differences, it is hard to choose. Here are the basic differences to know before you use Convert Image Format (JPG, PNG, WebP), explained for beginners.
JPG
- Good at: photos, and images where colours change finely.
- Feature: leaves out a little information that barely affects the look to make files light.
- Weakness: cannot hold transparency. Text and lines can look smudged. Quality drops when converted repeatedly.
PNG
- Good at: logos, illustrations, screenshots and figures with text.
- Feature: saves without omitting information, so it looks crisp. Keeps transparent backgrounds.
- Weakness: files tend to be large for photos.
WebP
- Good at: images for websites.
- Feature: lighter than JPG or PNG, and handles transparency.
- Weakness: some older apps and forms cannot open it.
Comparing them
- Lightness: WebP > JPG > PNG (for photos)
- Crispness: PNG > WebP = JPG (for text and lines)
- Transparency: PNG and WebP support it, JPG does not
- Breadth of support: JPG and PNG > WebP
如何選擇
- For submitting or emailing, simply the safest: JPG
- Transparent backgrounds or crisp text: PNG
- To lighten a website: WebP
Conversion tips
- Keep the original image, especially PNGs and photos as shot.
- Convert and edit from the original.
- Before converting, check which formats where you will use it supports.
Common stumbling blocks
- The background became white as JPG: transparency is replaced with white.
- It did not get lighter as PNG: PNG is not a format for making things light.
- WebP will not open: convert to JPG or PNG.
Frequently asked questions
Does rewriting the extension change the format?
No. The extension is only part of the name. Use a conversion tool.
Which format looks best?
It depends on the use. PNG for text and figures. For photos, JPG is good enough.
小結
JPG for photos, PNG for transparency and text, WebP to make the web lighter is the basic rule.
使用「轉換圖片格式(JPG、PNG、WebP)」(免費)搭配使用的工具
- HEIC 轉 JPG:把 iPhone 的 HEIC 照片轉換為 JPG 或 PNG。
- 壓縮與調整圖片大小:讓圖片檔案變小,也可以縮小尺寸。
- 裁剪與旋轉圖片:將圖片裁剪到任意區域或比例,並可旋轉。