Guides

Convert a transparent graphic to JPEG deliberately

Follow these steps using a local file and keep the original.

Convert a transparent graphic to JPEG deliberately
Actual local tool workspace with a synthetic sample.

Prepare the example

Reproduce with these original sample files: alpha-128x128.png. Make a copy before following any rename, truncation or byte-edit instruction.

Choose a PNG with transparency and select image/jpeg.

Run the workflow

  1. Open the related tool below and load the prepared file(s).
  2. Check JPEG dimensions are 128 × 128; transparent areas are flattened against white.

Verified example result

This example was reproduced in Chrome on 2026-12-04 using FileTypeKit 0.9.0 and synthetic data. The expected result or expected refusal was checked; this does not establish support for every real file.

The downloaded output was checked against the expected properties below.

Example output
alpha-128x128.jpg
Observed size
3028 bytes
SHA-256
ee9c818a6b9bfebe4ad7a5cc303c6ecf62e33a575e4f0351fc347b24b593cfa2

This digest describes the tested output; other encoders or versions may produce different bytes. Verify the expected properties, not only the digest.

Limitations and what to verify

JPEG cannot retain PNG alpha; use PNG or suitable WebP if transparency matters.

Open related toolDownload sample