๐Ÿ”— Image Converter
Convert, compress and resize images from one format to another by dragging and dropping or pasting into the note.
favorite
share
by xRyul
106
32,331
Latest Version
6 months ago
Changelog

New Features

  • You can now convert, compress, and resize all internal images in the current note or across your entire vault while making sure all links are updated too.
    • A few things to keep in mind:
    • This does not download externally embedded images.
    • Currently, for safety reasons, it does not support selecting the Output location.
    • Depending on your system specs, and amount of images in your vault - this might take some time to process! If you are ever stuck feel free to check status bar or the console log for the progress. Occasionally processing might stop due to files being locked (macOS), lack of file permissions, corrupted or truncated, hence console log might point us to the right direction, showing which filed caused the error.

Image 1 Image 2

image




  • Multi-drop: Many thanks @dotkt for this PR! Ability to drop multiple images at the same time. All dropped images will be converted, compressed, resized and saved in your desired location.

Improvements

  • External Links: several updates to improve the handling of external images:
    • Fixed a bug that caused external images to be clicked upon when hovered over. Hovering over images will no longer open external links, and it will no longer auto-open them if e.g. used in conjunction with Image Toolkit plugin.
    • Updated the regex for link and size detection.
    • Fixed an issue where custom sizing was applied even when it was turned off in the settings.
    • Fixed an issue which caused |size to be reapplied every time you copy pasted the same link. Now, only one |size should be displayed.
    • Fixed a bug that replaced one image link with another when using SHIFT+SCROLLWHEEL. Now, SHIFT+SCROLLWHEEL only works on one image at a time. To resize an image, hold shift + scrollwheel; to resize another image, let go of shift and hover over another image you wish to resize.
    • Made a slight update to scrollwheel-image-resizing; zoom should now try to follow the cursor.
    • Fixed a small bug where in certain cases pasting from clipboard external links would not get custom | size applied. Now, external images are parsed as HTML which are then converted into Markdown links. This allows us to handle many more external websites with edge cases.
    • When pasting external images from the clipboard, their link will be cleanedup in the clipboard before pasting.
  • Current Active Note: Small UI and accessibility changes when processing current active note e.g.: show title of the note in which images will be processed.
  • A few ms shaved off from the plugin load times. More incoming in future updates.
  • Autorename: When enabled, it should now follow users system time.