#formats · #tiff · #psd · #imagemagick
Converting TIFF, PSD, TGA and QOI in the browser — and why HEIC or RAW still need a desktop engine
LitPhoto registers 44 image formats, reads 31 and writes 30 in the browser. Here is how the tiers work and where the professional-format line really is.
Browser format conversion sounds simple until you ask which formats. JPEG, PNG and WebP are straightforward. TIFF and PSD need a real encoder. HEIC and camera RAW need codecs that browsers do not ship. LitPhoto draws a clear line instead of pretending every format is available.
The short answer
LitPhoto registers 44 image formats, can read 31 and can write 30 in the browser. Five common formats use bundled WASM codecs; most professional formats use a lazily loaded ImageMagick WASM engine. HEIC, camera RAW, PDF and several desktop-only formats appear in the format library but are disabled for output.
The four engine tiers
| Tier | What it means | Examples |
|---|---|---|
| Browser | The browser decodes the format directly | JPEG, PNG, WebP, GIF, BMP |
| WebAssembly codec | A bundled WASM encoder/decoder handles it | AVIF, JPEG XL |
| ImageMagick WASM | A larger engine is loaded on first use | TIFF, PSD, TGA, QOI, DDS, EXR, HDR, JP2, SVG |
| Desktop engine | No browser implementation is available | HEIC, camera RAW, PDF, EPS, AI |
The tiers are not marketing labels. The format library shows exactly which tier handles the read and write direction, and disables rows that cannot be written.
Why TIFF output can be larger than the source
TIFF is a professional container designed for lossless or lightly compressed data, not for tiny web delivery. Converting a JPEG to TIFF is likely to increase the file size dramatically. That is not a bug; you asked for a format that preserves more data. If the goal is a smaller web image, choose WebP, AVIF or JPEG instead.
The same principle applies to PSD, EXR, HDR and DDS. They are useful when another application expects them, not when you want the smallest possible file.
What happens on the first professional conversion
The ImageMagick WASM engine is about 15 MB. It is not part of the initial page load; the first conversion to a professional format downloads the engine, then later jobs reuse the cached copy. During that first run, the job may take longer than expected, and the settings panel warns you before you choose the target.
If the device is offline and the engine has never been cached, the first professional conversion will fail. Simpler formats handled by the small bundled codecs can still work offline after the app shell is cached.
The honest limitations
- PSD is flattened. The browser engine writes a flattened 8-bit composite, not layers, masks or adjustment stacks.
- Animated images keep the first frame. GIF, APNG and animated WebP are not re-assembled into new animations.
- Metadata is narrow. JPEG-to-JPEG and PNG/APNG-to-PNG/APNG can preserve EXIF/ICC when enabled; many cross-format conversions cannot and show a warning.
- Alpha may be flattened. Formats without an alpha channel (JPEG, BMP, PNM, PCX) need a background colour.
- HEIC, camera RAW and PDF are not browser outputs. They need a native codec or a desktop engine. The library disables them rather than failing after a long job.
- Preview support is separate from conversion. A browser may not display a TIFF or PSD result even when LitPhoto successfully produced it. The preview falls back to a format plate, and the download still works.
How to convert a professional format
- Drop a supported source image.
- Open the format library and choose a browser-encodable target, such as TIFF, TGA or PSD.
- If the target has no quality dial, the panel switches to fixed quality.
- Run the conversion. The first ImageMagick target may take longer while the engine loads.
- Download the result and open it in the application that needs it.
If the source itself is desktop-only (for example HEIC), the app cannot decode it in the browser. Convert it with a desktop tool first, or use a platform with a native codec.
A practical rule
Use the smallest, most compatible format that satisfies the receiving application. For web delivery, WebP/AVIF/JPEG are usually the right answers. For editing or archival handoff, TIFF or PSD may be correct even though they are larger. For formats the browser cannot decode, do not expect a client-side converter to fake it; use the right native engine.
Try it locally
Every file is processed on your device. No uploads, no account, no tracking.