xRyul/obsidian-image-converter
关于
⚡️ 在 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.
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
|widthor 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)
- Automatically read image dimensions and apply it to the image link e.g.: apply image width to
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:
- Rename: Use variables (e.g.,
{noteName},{fileName}) to auto-rename images List of Supported Variables - Output: Organize images into custom output folders with variables.List of Supported Variables
- Rename: Use variables (e.g.,
🌍 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
- Copy to clipboard
📚 Documentation
- Settings overview
- Basic usage examples
- Annotation tool
- Crop tool
- List of supported variables and use-case examples
- How to compress images without quality loss - empirical analysis of image format vs image quality vs file size
- Optional PNG optimization (pngquant): see docs/pngquant.md
How to install
- Downlaod
main.js,styles.css,manifest.jsonfiles from the latest release page. - Creane new folder inside
VaultFolder/.obsidian/plugins/namedobsidian-image-converter. If plugins folder doesn't exist, then create it manually. - Move downloaded files into
/obsidian-image-converterfolder. - 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:
📜 License
MIT License - see LICENSE
🙏 Credits
- Original inspiration from musug's plugin
- FabricJS for annotation capabilities
探索相关项目
加载中…