背景が透明な画像を扱うときの注意(PNG→JPG)
この記事のポイント
- JPGは透明に対応していないため、白で埋められる
- 透明を残したいなら、PNGのままにする
- 背景色を白以外にしたいなら、別の編集が必要
透明な背景のロゴを、JPGにしたら、背景が白くなった。これは仕様です。
理由
JPGは、透明な部分を表現できない形式です。変換のときに、透明な部分を白で埋める処理になります。
透明を残したいとき
- 提出先が、PNGを受け付けるなら、PNGのままにする
- JPGしか受け付けないなら、背景が白で問題ないか確認する
背景を白以外にしたいとき
このツールには、背景色を変える機能はありません。別の画像編集アプリで、背景色を付けてから、変換してください。
見た目が変わるケース
- 白い文字のロゴ:背景が白になると、読めなくなります
- 影付きのイラスト:影の部分が、白に混ざって見えます
確認
変換後の画像を、白以外の背景(ダークモードなど)で見て、期待どおりか確認してください。
画像の形式を変換(JPG・PNG・WebP)を使う(無料)あわせて使えるツール
- HEIC画像をJPGに変換:iPhoneで撮ったHEIC画像を、JPGやPNGに変換します。
- 画像を圧縮・サイズ変更:画像のファイルサイズを小さくします。大きさの変更もできます。
- 画像の切り抜き・回転:画像を、好きな範囲や比率で切り抜きます。回転もできます。
同じツールの、ほかの解説
Notes on Handling Transparent-Background Images (PNG to JPG)
Key points
- JPG doesn't support transparency, so it is filled with white
- Keep it PNG to preserve transparency
- A non-white background needs separate editing
You converted a logo with a transparent background to JPG and the background became white. That is by design.
Why
JPG can't represent transparency. During conversion, transparent areas are filled with white.
If you want to keep transparency
- If the recipient accepts PNG, keep it as PNG
- If only JPG is accepted, check that a white background is acceptable
If you want a non-white background
This tool can't change background color. Add a background in another image editor and then convert.
Cases where it changes appearance
- Logos with white text: they become unreadable on white
- Illustrations with shadows: the shadow blends into the white
Checking
View the converted image on a non-white background (such as dark mode) and check it is what you expected.
Use "Convert Image Format (JPG, PNG, WebP)" (free)Tools that go well with this
- Convert HEIC to JPG: Convert HEIC photos from iPhone to JPG or PNG.
- Compress & Resize Images: Make image files smaller, and resize them if you like.
- Crop & Rotate Image: Crop an image to any area or ratio, and rotate it.