HEIC Viewer

approved

by Kiara Orquera

Allows viewing of .heic and .heif images in Obsidian by converting them on the fly. - This plugin has not been manually reviewed by Obsidian staff.

1 stars618 downloadsUpdated 25d agoMIT

HEIC Viewer for Obsidian

An Obsidian plugin that allows you to view .heic and .heif images directly inside your notes — on desktop, tablet, and mobile.

Obsidian does not natively support HEIC images due to Chromium licensing restrictions. This plugin solves that by seamlessly converting HEIC files to PNGs on the fly using the libheif-js library (powered by WebAssembly), allowing you to drag and drop photos straight from your iPhone or camera into your vault.

Features

  • Seamless Integration: Renders standard Obsidian embeds (e.g., ![[image.heic]]) exactly like standard images.
  • Transparency Support: HEIC images with an alpha channel keep their transparency — converting to PNG preserves it fully.
  • Fullscreen Viewer: Tap or click any converted image to open it fullscreen. Zoom in and out with the on-screen buttons, pinch (touch), or scroll wheel (desktop), and drag to pan while zoomed. A background button lets you temporarily view transparent images against black or white.
  • Background & Color Options: Choose what shows behind transparent regions (transparent, black, white, or any custom color), and optionally invert image colors — handy for reading scanned documents in dark themes.
  • Lazy Loading: Images only process and convert when you scroll them into view. This ensures your notes open instantly without freezing the app, even if you have multiple HEIC files in one document.
  • Privacy First: Conversions happen entirely locally on your device's RAM. No images are sent to external servers, and no extra cache files are written to your hard drive.

Manual Installation

  1. Download the main.js, manifest.json, and styles.css files from the latest Release.
  2. Create a folder named heic-viewer inside your vault's .obsidian/plugins/ directory.
  3. Place all three downloaded files into that new folder. Don't skip styles.css — without it, images won't display correctly.
  4. Open Obsidian, go to Settings > Community Plugins, and toggle on HEIC Viewer.

Usage

Simply embed your HEIC images into your notes just like you normally would: ![[my-photo.heic]]

When you scroll to the image, the plugin will briefly display a "Converting HEIC..." placeholder while it decodes the image in the background, and then the image will seamlessly appear. Tap or click it to open the fullscreen viewer.

Limitations

Because HEIC files use heavy video-compression algorithms, decoding them via WebAssembly takes a moment. Large photos (12MP+) might take a second or two to render when scrolling into view.

Support me on Ko-fi Support me on Ko-fi

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.