Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST]: Converting, compressing and resizing all existing images in vault #7

Open
materemias opened this issue Sep 15, 2023 · 5 comments

Comments

@materemias
Copy link

Could you add a functionality to do that?

@xRyul
Copy link
Owner

xRyul commented Sep 30, 2023

hey, thanks for checking out the plugin. I will look into it.

Although, if you only want to reduce file size and if you have a lot of images to process at once: e.g: 500+ spread out across multiple formats (psd, tif, jpg, jpeg, heic, gif etc.) I would better use something like "XnConvert", as it will be able to use all available cores and will be much faster.

@xRyul xRyul changed the title FR: add a way to process all already existing images [FEATURE REQUEST]: add a way to process all already existing images Oct 8, 2023
@materemias
Copy link
Author

thanks for looking into this, the difference is that md references would not get updated if I converted between file formats.

@xRyul xRyul changed the title [FEATURE REQUEST]: add a way to process all already existing images [FEATURE REQUEST]: Converting, compressing and resizing all existing images in vault Oct 11, 2023
@xRyul
Copy link
Owner

xRyul commented Oct 11, 2023

Will try to release it in the next couple of days:

  • Ability to convert, compress and resize all internal images in current note

    image

    image

  • Ability to convert, compress and resize images across all Vault

A few things to consider:

  • This does not download externally embedded images.
  • Currently, for safety reasons, it does not support selecting the Output location.
Process.all.images.in.current.note.mp4

@tylerjames
Copy link

Just tried this Process all vault image feature and it worked great and was pretty quick (my vault is not huge)

It definitely made my canvases much snappier when scrolling. Well done

@Sinled
Copy link

Sinled commented Mar 14, 2024

Hi, is there any means to spead up conversion? I was trying to convert images (on m1 max mac) in a whole vault but it will take several months to convert ~6k images )

I see somewhere between 180 to 200 second for 1 image conversion, but when i am using cwebp converter with similar settions it takes 0.5 - 1 second per image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants