Anki-Addons
Anki-Addons copied to clipboard
Image Resizer - work on old files
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
Hi 007noob007,
About your first requirement, you can resize previous images manually. Open Anki, Tools -> Add-ons -> Open Add-ons Folder...
After opening the folder, go up, there's a folder called User 1,open it, and you will see folder collection.media
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.
- I don't have enough time recently.
- 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
Searene's advice above is spot on. I was able to batch resize images using Irfanview quite easily.