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

Image Resizer - work on old files #14

Open
YuvalMilo opened this issue Mar 19, 2018 · 2 comments
Open

Image Resizer - work on old files #14

YuvalMilo opened this issue Mar 19, 2018 · 2 comments

Comments

@YuvalMilo
Copy link

Hey there.

First of all, Thank you for so much for this awesome add on!

Seconds, I have more than 10,000 cards I have imported. Some of the contain some picture. Is there a way to use "Image Resizer" to resize all of these already uploaded cards? I think a feature like that would really help a lot of ppl :)

I have tried to modify your code but failed...

p.s
I think it would have been great if there was some way to resize Latex code that was automatically compiled to a PNG file so that it doesn't get blurry.

thanks,
007noob007

@searene
Copy link
Owner

searene commented Mar 19, 2018

Hi 007noob007,

About your first requirement, you can resize previous images manually. Open
Anki, Tools -> Add-ons -> Open Add-ons Folder...

screenshot at 2018-03-19 22-41-56

After opening the folder, go up, there's a folder called User 1,open it,
and you will see folder collection.media

screenshot at 2018-03-19 22-44-28

Open collection.media, you will find all of your images in it. What you
need to do is just using another software to do bunch resizing. A lot of
softwares are able to do it. The reason why I didn't add this functionality
into ImageResizer was twofold.

  1. I don't have enough time recently.
  2. It's actually pretty dangerous to do it, because if you do it in the
    wrong way, you lose all of your previous images. So you'd better back up
    your images before scaling.

About your second requirement, I don't use Latex, so I don't know what you
meant, maybe you can give me an example. :)

I'm pretty busy these days, so if you can modify the code to achieve the
missing functionalities, I'd be happy to merge them into my code and upload
them to AnkiWeb, so it can benefit more people.

Regards,
Searene

@hlinee
Copy link

hlinee commented May 26, 2019

Searene's advice above is spot on. I was able to batch resize images using Irfanview quite easily.

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

3 participants