Skip to content
Projects

xRyul/obsidian-image-converter

View on GitHub

About

⚡️ Convert, compress, resize, annotate, markup, draw, crop, rotate, flip, align images directly in Obsidian. Drag-resize, rename with variables, batch process. WEBP, JPG, PNG, HEIC, TIF.

Design & Media

How these counts are measured

What you can do

  • 🖼️ Convert: Automatically convert dropped/pasted images into WEBP, JPG or PNG
  • 🗜️ Compress: Reduce file size by specifying Quality value between 1-100
  • Automatically read image dimensions and apply it to the image link e.g.: apply image width to |width or specify any custom size.
  • Resize by dragging edge of the image, or with Scrollwheel (e.g., CMD+Scrollwheel)

Measured star growth

in 24h
-1
in 7 days
+2
in 15 days
+3
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Image Converter for ObsidianMD

Making image management inside Obsidian slightly more convenient.

https://github.com/xRyul/obsidian-image-converter/assets/47340038/63a0646b-29ec-4055-abfc-55d31e07b2f7

Features

Supported image formats: WEBP, JPG, PNG, HEIC, TIF

  • 🖼️ Convert: Automatically convert dropped/pasted images into WEBP, JPG or PNG

  • 🗜️ Compress: Reduce file size by specifying Quality value between 1-100

  • 📏 Resize images (destructive and non-destructive)

    • Automatically read image dimensions and apply it to the image link e.g.: apply image width to |width or specify any custom size.
    • Resize by dragging edge of the image, or with Scrollwheel (e.g., CMD+Scrollwheel)

    • Resize original image (width, height, longest edge, shortest edge, fit, fill)
  • Align (left, right center) and wrap text around images without any custom syntax in your links:

  • Image annotation and markup tool. Draw, write, scribble, annotate, markup on top of images right inside Obsidian.



  • ✂️ Crop, rotate, and flip images
    <

  • ◱ Perspective correction (deskew) — rectify slides, documents and whiteboards photographed at an angle: mark the four corners and the trapezoid is warped back into a rectangle.

  • 📁 Custom File Management and Renaming:

  • 🌍 Pure JavaScript implementation that works completely offline. No external APIs or binary dependencies (such as ImageMagick, Cloudinary, FFmpeg, sharp, etc.) required - keeping it lightweight, portable and secure.

Other

  • 🔄 Batch Processing: Convert, compress, and resize all images in a note or across the entire vault.
  • 🔗 Compatibility with other markdown editors: Ability to have Markdown links for images, and Wiki links for all other links.
  • 🖱️Custom right click context menus:
    • Copy to clipboard

    • Copy as Base64 encoded image
    • Resize original image you have just clicked upon

    • Delete image from vault - removes image and its link from the vault

📚 Documentation

How to install

  1. Downlaod main.js, styles.css, manifest.json files from the latest release page.
  2. Creane new folder inside VaultFolder/.obsidian/plugins/ named obsidian-image-converter . If plugins folder doesn't exist, then create it manually.
  3. Move downloaded files into /obsidian-image-converter folder.
  4. Enable the plugin in ObsidianMD.

🐛 Issues & Support

Found a bug or need help? Open an issue

If you find this plugin useful, your support keeps this project alive and growing:

Ko-fi

📜 License

MIT License - see LICENSE

🙏 Credits

Explore related projects

Loading…