Washed-out colours, white blocks where transparency used to be, sideways photos, files that came out bigger than they went in. None of these are random — each one has a specific cause.
| Symptom | Most likely cause | Fix |
|---|---|---|
| Colours look washed out or oversaturated | HDR or wide-gamut data flattened into 8-bit sRGB | Convert with a colour-managed desktop tool |
| Transparent areas became white or black | JPG has no alpha channel | Use PNG, or accept the background colour |
| Photo is rotated 90° | EXIF orientation flag not applied | -auto-orient, or rotate after conversion |
| JPG is larger than the AVIF | The source was already compressed, or it is a screenshot | Lower quality, use 4:2:0 sampling, or keep the AVIF |
| Image looks soft or blurry | Downscaling at the canvas limit, or very low quality | Convert at 92%, check dimensions |
What you see: the JPG looks flat and grey next to the original, or the opposite — skin tones turn orange and the sky looks radioactive.
Why: AVIF can carry 10-bit or 12-bit colour, HDR, and a wide-gamut profile (often BT.2020 or Display P3). A browser canvas is 8-bit sRGB. When the conversion goes through a canvas, that wider data is squeezed into a narrower space: highlights clip, saturated colours shift.
This is most visible with HDR photos from a recent phone and with images exported from video editors. A normal SDR photo converted in a browser should look identical; if it does not, the source almost certainly carried an HDR or wide-gamut profile.
Fix: use a desktop tool that manages colour profiles — ImageMagick with an explicit profile conversion, Photoshop, or Affinity Photo — and convert the profile rather than discarding it. If you only need the image for a chat or a form, the shifted version is usually acceptable; if it is going to a client or a print lab, it is not.
Prevent it: before converting, open the original in a viewer that shows colour information and check whether it is HDR or wide gamut. If it is, do not use a browser-based converter for that file.
What you see: a logo that had a transparent background now sits on a white or black rectangle.
Why: JPEG has no alpha channel. There is no way to store "transparent" in a JPG, so the converter has to fill those pixels with something. Browser-based converters usually fill with white; ImageMagick fills with black unless told otherwise. Neither is a bug — the format simply cannot represent the data.
Fix: if the transparency matters, convert to PNG instead of JPG:
magick input.avif output.png
If you need a JPG anyway — a form that only accepts JPG, for example — choose the background deliberately:
magick input.avif -background white -alpha remove -alpha off output.jpg
Prevent it: check the source before converting. If it is a logo, an icon, a sticker or a product cut-out, the right target is PNG, not JPG.
What you see: a portrait photo opens in landscape orientation, rotated 90 degrees.
Why: phone cameras store the sensor data in one orientation and record how to rotate it in an EXIF tag. Most browsers apply that tag when decoding, so a canvas conversion usually comes out upright — but not always, and desktop tools vary. When the orientation tag is dropped without being applied, the image stays in sensor orientation.
Fix: rotate after conversion, or let ImageMagick apply the tag during conversion:
magick input.avif -auto-orient output.jpg
Prevent it: convert one photo from the batch first and look at it. If it is upright, the rest will be too — the images came from the same device and carry the same tag.
What you see: a 180 KB AVIF becomes a 420 KB JPG at quality 92.
Why: this is normal and does not mean the conversion failed. AVIF is roughly twice as efficient as JPEG on detailed photographs, but the gap narrows — and can reverse — for screenshots, logos, flat illustrations and images that were already heavily compressed before being saved as AVIF. Re-encoding an already-compressed image also wastes bits on artifacts.
Fix: try 85% and 4:2:0 chroma subsampling before assuming something is wrong:
magick input.avif -quality 85 -sampling-factor 4:2:0 output.jpg
If the file is still larger, the content simply does not suit JPEG. A screenshot belongs in PNG; a logo belongs in PNG or SVG.
Prevent it: judge the conversion by whether the format is appropriate, not by file size alone. JPG exists for compatibility, not for beating AVIF at its own game.
What you see: fine detail — hair, foliage, text — loses definition, or the whole image looks slightly out of focus.
Why: usually one of three things. A quality setting below 70% discards too much detail. A browser canvas caps dimensions at 8192 px, so a very large image is downscaled before encoding. Or the source was already a low-quality JPEG that was converted to AVIF and back, compounding the loss.
Fix: convert at 92%, check the output dimensions against the original, and start from the highest-quality source you have. If the original is a JPG that was already compressed, no conversion will sharpen it.
-strip. Check before publishing.