Lưu ý khi xử lý ảnh nền trong suốt (PNG sang JPG)
- JPG không hỗ trợ độ trong suốt nên được tô trắng
- Giữ PNG để bảo toàn độ trong suốt
- Nền không phải màu trắng cần chỉnh sửa riêng
When you convert an image with a transparent background, such as a logo or an illustration, to JPG, the background turns white. The look can change unintentionally, so here are the points to note. This explains how to handle it in Convert Image Format (JPG, PNG, WebP).
What transparency is
A transparent background means the "empty" part of the image shows whatever colour is underneath. A logo can be laid naturally over a website's background colour or a slide's colour. PNG and WebP can keep this transparency, but JPG cannot.
What happens when you convert
- PNG to JPG: transparent areas become white.
- PNG to WebP: transparency is kept (in a browser that can create WebP).
- JPG to PNG: it was never transparent, so a white background stays white.
Các bước
- With "Choose images", select the image.
- To keep transparency, set "Output format" to PNG. With JPG, the background becomes white.
- Press "Convert" and check the result.
When unsure about using JPG
- Placing it on a white background: JPG is fine.
- Laying it over a coloured background or a photo: keep it as PNG.
- A form that accepts only JPG: check that submitting it with a white background is acceptable.
When you want another background colour
Converting to JPG makes it white. To use another colour, add the background colour in an image editor first, then convert.
Common stumbling blocks
- A white box appeared after conversion: transparency was replaced with white.
- The edges look jagged: laying a transparent image over another background can show a boundary.
- The file is too heavy: if you do not need transparency, JPG makes it lighter.
Frequently asked questions
Can I restore transparency later?
Not after converting to JPG. Keep the original PNG.
Is semi-transparency kept?
In PNG, yes. In JPG, it is mixed with white.
Tóm tắt
To keep transparency, use PNG. With JPG the background becomes white. Check the background where it will be used before converting.
Dùng “Chuyển định dạng ảnh (JPG, PNG, WebP)” (miễn phí)Công cụ hay dùng cùng
- Chuyển HEIC sang JPG: Chuyển ảnh HEIC từ iPhone sang JPG hoặc PNG.
- Nén và đổi kích thước ảnh: Làm tệp ảnh nhỏ hơn và đổi kích thước nếu muốn.
- Cắt và xoay ảnh: Cắt ảnh theo vùng hoặc tỉ lệ bất kỳ và xoay ảnh.
Nếu hướng dẫn này hữu ích, một khoản ủng hộ nhỏ sẽ là niềm động viên lớn.
Gửi tiền ủng hộ (¥300)Tặng quà (danh sách mong muốn Amazon)