Skip to content
项目

xRyul/obsidian-image-converter

在 GitHub 查看

关于

⚡️ 在 Obsidian 中直接转换、压缩、调整大小、添加注释、标注、绘制、裁剪、旋转、翻转和对齐图片。支持拖动调整大小、使用变量重命名和批量处理。支持 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
  • 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)

实测星标增长

24小时
-1
7天
+2
15天
+3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…