Skip to content

HEIC: the format breaking the web — and how LinkySend tamed it with a hybrid WASM stack

March 21, 202610 min readTech & Formats
heic to jpg converter online
iphone photo upload error social media
heic file not supported
best social media scheduler iphone
heic vs jpeg comparison
heic webassembly conversion

In 2017, Apple did something bold and unpopular: they replaced JPEG with HEIC as the default photo format on iPhone. Bold, because HEIC is objectively technically superior — much better compression, native HDR support, advanced color profiles. Unpopular, because HEIC created a gaping fracture in the web ecosystem that persists into 2026. This fracture directly impacts content creators, marketers, and anyone who owns an iPhone and wants to post on social media. At LinkySend, we built a technical solution that makes this fracture disappear. Here is our complete analysis and approach.

Why Apple created HEIC — and why the rest of the world didn't follow

The technical genesis: HEVC and the Moving Picture Experts Group

HEIC (High Efficiency Image Container) is based on the HEIF (High Efficiency Image File Format) standard, itself developed by MPEG (Moving Picture Experts Group) and standardized as ISO/IEC 23008-12. The codec used, HEVC (High Efficiency Video Coding, alias H.265), was originally designed for 4K and 8K video, but its hierarchical block-based compression algorithms prove even more efficient for static images than for video.

Apple adopted HEIC with iOS 11 in 2017 for a simple reason: the iPhone 7 and successors shoot 12-megapixel RAW photos, generating JPEG files of 4 to 6MB per photo. On a 128GB iPhone, that's about 25,000 photos maximum. In HEIC, the same phone can store 50,000 equivalent-quality photos. For users who don't back up regularly, that's a life-changing difference.

The real advantages of HEIC over JPEG

Beyond compression, HEIC offers significant technical advantages. Native transparency support (like PNG but with better compression), image sequence support (burst photos, Live Photos), color depth up to 16 bits per channel (JPEG is limited to 8 bits), HDR with Dolby Vision and HDR10 metadata, and rotation/orientation without re-encoding. These characteristics make HEIC a genuinely superior format for professional and semi-professional photography.

Selective adoption: Apple vs the rest of the world

Despite its advantages, HEIC never took off outside the Apple ecosystem. The reasons are multiple: web browsers (Chrome, Firefox) only added partial and late HEIC support. Social network APIs were built around JPEG. The most popular image processing libraries (Pillow in Python, Jimp in Node.js) didn't natively support HEIC. And crucially: HEVC requires patent licenses, which slowed adoption by open-source actors.

How social networks fail with HEIC — a platform-by-platform analysis

Instagram and Facebook: the silent rejection

Instagram (Meta) is probably the most frustrating case. When you try to upload a .heic file via the desktop app or a third-party tool using the Graph API, the error returned is generic: "The type of this image is not supported." Meta doesn't invest in HEIC support because their argument is that the iOS mobile app automatically converts photos before upload — which is true when you publish from the native iPhone app. But this automatic conversion doesn't apply when using a third-party tool, an API, or when posting from a Mac or PC.

Twitter/X: the cryptic error

Twitter (renamed X) returns a slightly more explicit error: "media type unacceptable" with error code 324. The Twitter API documentation lists accepted formats: JPG, PNG, GIF, WEBP — HEIC is not among them. Interestingly, Twitter supports WEBP (Google's format), showing this isn't a refusal to modernize, but a deliberate choice not to invest in support for an Apple-associated format.

LinkedIn: the degraded conversion

LinkedIn pretends to support HEIC but the reality is more nuanced. Their API accepts .heic files, but passes them through a conversion pipeline that generates JPEGs with aggressive compression, which can result in visible quality loss, especially for photos with text or fine details. Result: iPhone photos posted on LinkedIn via direct upload are systematically blurrier than the originals.

TikTok: the special case

TikTok shows interesting behavior: their iOS mobile app handles conversion internally (like Instagram), but their Content Posting API explicitly refuses HEIC. For creators using scheduling tools for TikTok, the problem is identical to other platforms. Additionally, TikTok applies a watermark to photos imported outside their native interface, adding another layer of complexity.

Our hybrid stack: WASM first, Node.js as fallback

Why WebAssembly is the architecturally correct solution

When we started working on the HEIC problem in 2025, we evaluated three approaches. First: server-side conversion for all cases. Simple to implement, but means all images transit through our servers — problematic for privacy and expensive in infrastructure. Second: asking users to convert themselves. Unacceptable from a UX standpoint. Third: client-side WebAssembly. Technically complex, but the only approach combining performance, privacy and optimal UX. That's what we chose.

The libheif-wasm implementation: technical details

Our implementation is built around libheif-wasm, a WebAssembly port of the open-source libheif library. The compilation chain uses Emscripten to transpile C++ to WASM. Key technical details of our implementation: the WASM module is split into lazy-loaded 800KB chunks to avoid impacting initial application load. We use the Workers API to run conversion in a separate thread (Web Worker), avoiding any UI blocking. The conversion pipeline handles ICC profiles to preserve the color space (sRGB, Display P3) of the original image. The result is a HEIC → JPEG conversion that preserves: EXIF orientation, GPS metadata (if present and consented), color profile, and original resolution.

The Node.js/sharp pipeline for edge cases

For the rare cases our WASM engine can't handle (mainly HEIC with multi-tile encoding or complex Live Photo sequences), we have a server-side fallback pipeline. Sharp, the Node.js library based on libvips, handles these cases with excellent performance (libvips is recognized as the fastest available image processing library). Processing happens in-memory — no disk storage — and the buffer is released immediately after sending to the target social network API.

What this means in practice

Conversion runs locally in the browser, so most HEIC photos never touch a server. The server fallback only exists for unusual encodings, and your photo is processed in memory and discarded right after.

📥 Free Guide: 50 AI Prompts for Social Media

Download our guide of validated AI prompts to write engaging captions faster.

Alternatives to manual HEIC conversion

Online converters: what to check

Online HEIC converters process your files on their own servers. Your personal photos (vacations, portraits, children) are uploaded to servers whose location, retention policies and access controls you need to read about in the converter's privacy policy. For occasional use that may be acceptable. For a creator publishing daily, it is a recurring step and a recurring exposure of personal files.

The LinkySend approach: conversion inside the browser

LinkySend converts HEIC to JPEG locally in the browser via WebAssembly, so there is no separate converter to use and no manual step before publishing. The combination of the WASM engine and a server fallback for edge cases makes the HEIC to social media flow frictionless, without visible quality loss. For the supported formats of any other tool you use, check that tool's official help page.

Frequently Asked Questions

Ready to publish everywhere in one click?

Post your iPhone photos to all your networks without ever thinking about format. LinkySend handles HEIC natively — try it free at /dashboard/create.

Related Articles

    LinkySend uses strictly necessary cookies and browser storage (login session, language, display preferences). One optional category, Affiliation, credits a partner only if you arrive through a partner link: you choose. No advertising and no third-party tracking.

    Cookie settings