Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

ImageMagick

Abdulkader SafiAbdulkader Safi132 downloads

Resize, crop, rotate, compress and convert images in your vault, powered by Safi-Image.

Add to Obsidian
ImageMagick screenshot
  • Overview
  • Scorecard
  • Updates4

Optimize images inside your vault. Resize, crop, rotate, compress and convert formats, without leaving Obsidian and without uploading anything anywhere.

Powered by safi-image, a TypeScript image library written for this plugin. No native binaries, and nothing is fetched at runtime: every codec ships inside main.js, and no image ever leaves your machine. Every format is decoded in plain TypeScript except WebP, which uses a small WebAssembly codec, inlined rather than downloaded. This is the Obsidian port of the VS Code extension.

By Abdulkader Safi.

Plugin screenshot

Features

  • Resize: width and height inputs, lock aspect ratio, quick percentage presets.
  • Crop: drag a region on the preview, or type exact coordinates.
  • Rotate and flip: 90° presets, a free-angle slider, horizontal and vertical flip.
  • Compress: quality slider (1-100) for lossy formats.
  • Change format: JPEG, PNG, WebP, GIF, TIFF and BMP.
  • Live preview with an output size estimate.
  • Save to any vault path, with a smart default (photo.optimized.webp) that never overwrites your source.
  • Presets: right-click an image (or a multi-selection) and pick Optimize with preset to write optimized output straight into the vault, no editor. A preset holds a format, quality, max size, and metadata-strip choice. Edit them in the plugin settings, or use Save as preset in the editor.
  • Bulk edit: select several images, tune the pipeline on one, and Save all applies it to every file.

Usage

  1. From the file explorer: right-click any image, then Optimize image or Optimize with preset.
  2. From the command palette: ImageMagick: Open image, then pick a file.
  3. Drag and drop: open the view, then drag an image in from outside Obsidian.

Supported formats

Reads and writes JPEG, PNG, WebP, GIF, TIFF and BMP. The plugin asks the library which encoders are available and only offers formats it can actually produce.

EXIF orientation is applied on open, so a photo shot upright arrives upright. Metadata (EXIF, GPS, colour profiles) is never carried into the output.

Some things the library does not decode: AVIF and HEIC, both patent-encumbered; progressive JPEG; animated GIF and multi-page TIFF, which read as their first frame.

Development

npm install
npm run dev     # rebuild main.js on save
npm run build   # typecheck, then production bundle
npm test        # runs real images through the edit pipeline
npm run lint

The UI is Svelte 5 mounted into an Obsidian ItemView. Styling is plain CSS in styles.css, written against Obsidian's own CSS variables, so the editor follows the active theme and light/dark mode with no rebuild. There is no CSS build step.

Running on mobile

The manifest is not desktop-only, and the plugin has no node dependency at runtime. safi-image's PNG codec imports node:zlib, which Obsidian mobile does not have, so the build swaps it for src/zlib-shim.ts (fflate) via scripts/node-shims.mjs. Any other node: import is a build error rather than a silent stub, because it would only fail on mobile and nowhere else.

License

MIT

HealthExcellent
ReviewPassed
About
Optimize images inside your vault without leaving Obsidian or uploading files. Resize, crop, rotate, flip, compress and convert between JPEG, PNG, WebP, GIF, TIFF, BMP and AVIF with live preview, output size estimate, smart output naming, presets and bulk processing.
ImagesFormats
Details
Current version
2.0.1
Last updated
Last week
Created
2 weeks ago
Updates
4 releases
Downloads
132
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
Abdulkader SafiAbdulkader Safiabdulkader-safi
abdulkadersafi.com
GitHubabdulkader-safi
safi-studio.com
abdulkader.safi
abdulkader-safi
ko-fi.com
  1. Community
  2. Plugins
  3. Images
  4. ImageMagick

Related plugins

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.

Featured Image

Automatically set a featured image property in your notes based on the first image.

Image Context Menus

Image context menus (mostly on right click): Copy to clipboard, Open in default app, Show in system explorer, Reveal file in navigation, Open in new tab.

Chat View

Chat View lets you quickly and easily create elegant Chat UIs in your Markdown Files.

TTRPG Tools - Maps

A toolbox for interactive fantasy maps.

PlantUML

Generate PlantUML diagrams.

Pandoc Plugin

Commands to export to Pandoc-supported formats like DOCX, ePub and PDF.

Local Images Plus

A reincarnation of Local Images to download images in Markdown notes to local storage.

Pixel Perfect Image

Pixel perfect 100% image resizing, copy to clipboard, show image in Finder/Explorer, and much more.