smponi / paper2anki Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Is there a way to increase image quality? I had to pack a lot of information on some cards and now I am having problems reading them comfortably.
File size is not an issue.
Unfortunately I am not to experienced with python and the used libraries.
Thank you so much! The program makes studying so much easier for me! One comment: I had problems importing new flashcards because some images had the same names, and Anki then thought that the flashcards already existed. I do not know if anyone else had the problem, but the way I fixed it was:
In paper2anki.py I passed the variable 'name' as a parameter for the the createImages function and then in I simply changed line 40 in paper2anki.py from
img.save("%s%s.jpg" %(TEMP+os.sep,format(x.number, '04d'))) to img.save("%s%s.jpg" %(TEMP+os.sep,format(x.number, '04d')+ '_' + name)).
I don't know if it works for everybody or if someone has similar problems. Maybe my Anki is just weird. But at least for me, it works. The only important thing is that one always chooses a different name than before.
The required package pymupdf does not run on the m1 macs. (Well, it can be run but it's a hustle to set it up.)
Therefore I'm planing to replace this package.
I keep getting this error:
"line 12, in
from AnkiCreator import create_apkg
ModuleNotFoundError: No module named 'AnkiCreator' "
when attempting to run this code. Any ideas on how to fix this?
Thank you so much! helped me a lot ๐
One thing - maybe you can leave links to mobile apps in Readme? Turned out there're multiple Anki Flashcards apps in AppStore, I installed wrong one and was puzzled over why import doesn't work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.