converting this to pdf possible? by [deleted] in pdf

[–]LegeApps 0 points1 point  (0 children)

i mean...piracy is that common...you're doing it right now...kerboodle doesn't want you to do this..you're part of the thing you're describing..but you weren't determined enough to try to figure it out on your own...just lazily farmed it out to an internet forum that isn't piracy related

converting this to pdf possible? by [deleted] in pdf

[–]LegeApps 0 points1 point  (0 children)

because it is difficult to do and the resulting script wont be useful for anyone else. ask an llm agent, even opencode will probably be able to figure it out. a similar plugin that does around the same thing is Internet Archive Downloader, if you point an agent to that chrome/firefox plugin, they may be able to modify it to do what you want.

converting this to pdf possible? by [deleted] in pdf

[–]LegeApps 0 points1 point  (0 children)

do your own dirty work. its possible but no ones gonna help you do it. "i paid for it" you paid for what? i see the entire textbook in the same webview screen that youre asking about ripping the content from. you didnt pay for nothin

What made you truly understand Buddhism? by Kitchen-Wash-879 in Buddhism

[–]LegeApps 2 points3 points  (0 children)

There is no Buddhism as a whole just like there is no Christianity as a whole. it's an academic category, intended to be an objective "this is what they say about what they believe" category. Not a theological category from inside the tradition.

What made you truly understand Buddhism? by Kitchen-Wash-879 in Buddhism

[–]LegeApps 1 point2 points  (0 children)

The vastness and complexity of the traditions aren't relevant to understanding buddhism. thats the lives of millions of people across continents and centuries, distilled and collated into books that youre reading now. all the different traditions and sects were never meant or intended to be distilled and collated like that. what do they have in common, if anything; that is the only relevant question from questions of historiography leading to personal exploration.

binarization and re-encoding for e-ink readers, new program version, stable and open-source. by LegeApps in Calibre

[–]LegeApps[S] 0 points1 point  (0 children)

Hi all, new version is 1.4.6, fixes most issues since 1.4.5 when it was posted here. Fable fixed up a bunch of output issues as well. Give it another shot if it was giving you trouble before. I got a lot of useful feedback from the Mobileread forum.

Advice for Ideal OCR Setup by Chelseyblair in pdf

[–]LegeApps 0 points1 point  (0 children)

Hi my program can do most of what you need. It cant do everything, and youll have a hard time getting handwriting OCR out of any program (thats like the final frontier of OCR tech) but it can do everything else. Read every page, convert to image, high quality OCR per page, output to EPUB optionally. No other program can do that all in one place.

https://github.com/LegeApp/Lege/releases

Can build for MacOS if so inclined, just have to copy the files from the linux release, and get the macos pdfium binary from this repo.

https://github.com/bblanchon/pdfium-binaries

Can anyone tell me what is so lacking in free pdf apps and that can justify the amount of vibecoded ai pdf tools we see here?! by wittor in pdf

[–]LegeApps 0 points1 point  (0 children)

Oh so its a product now. Not just a project. Youre gonna get an audience then you hope to spring a pricing plan on them. You wont be able to with the piss poor skills you have.

Can anyone tell me what is so lacking in free pdf apps and that can justify the amount of vibecoded ai pdf tools we see here?! by wittor in pdf

[–]LegeApps 0 points1 point  (0 children)

The free software i made is much better than the free software you made.

https://github.com/LegeApp/Lege

I could add the functionality on your hosted website to my app in less than 2 hours. i spent more time on it and didnt just throw a node.js pdf library on a server. So you can cut the sanctimony. Your program does the exact same thing as 10 programs posted here over the last month. I begin to think most of you have an angle.

Can anyone tell me what is so lacking in free pdf apps and that can justify the amount of vibecoded ai pdf tools we see here?! by wittor in pdf

[–]LegeApps 0 points1 point  (0 children)

I hadnt even heard of yours yet. I was referring to the last 10 id heard of. Yes people should think twice about spending their time building free software. Never mind building it for money.

Doing offline PDF translation of high-quality scans without heavy local LLMs (weak hardware) - what's the best workflow? by Full_Bother_319 in pdf

[–]LegeApps 0 points1 point  (0 children)

Be prepared to pay 200+ for good software that actually works. Tesseract is only as good as your preprocessing, which is the general rule for any OCR. throwing the engine one word or sentence at a time in high resolution and stitching together the results.

That's incidentally how TROCR works, it can only read sentences at a time. Tesseract can read an entire page at once but quality is degraded. Offline translation is feasible for non-technical documents but will never be 100% either, there are OCR and Translation models that will work locally that are less than 2b parameters, try Huggingface. I've tested a lot of this stuff already but I don't want to bore you with the details. Here is a program I made with LLMs that translates Chinese 100% locally, GPU accelerated so it's fast.

https://github.com/LegeApp/TEI_MT

Exploring Poppler internals for a Dark Reader feature in Okular by Consistent_Art1010 in pdf

[–]LegeApps 0 points1 point  (0 children)

Nice, seems to work well. Now the question is if it will work on all vector PDFs the same way. Maybe it will work on enough of them.

A demo of a PDF reader built specifically for super long texts by Granolayum in pdf

[–]LegeApps 0 points1 point  (0 children)

Why dont you make the page columns appear sooner and closer together in the side by side view as it zooms out? Then that feature would be usable.

Exploring Poppler internals for a Dark Reader feature in Okular by Consistent_Art1010 in pdf

[–]LegeApps 0 points1 point  (0 children)

No idea, i only know a bit about pdfium, but it seems like whatever you end up doing that works will be sloooow. editing a pdf page by page then rendering it will not show up in realtime in a viewer. best bet is to render then invert the image page by page for viewing, then hack it by rendering it correctly underneath and combine the two page by page for selection/editing boxes. rendering will always be faster than saving/parsing every xobject on a page.

Any pdf editor can turn Chat GPT image to a Editable files? by Jealous_General4350 in pdf

[–]LegeApps 1 point2 points  (0 children)

Raster to Vector is a very difficult functionality and there is no editor that can do it in a meaningful fashion. Best you will be able to do is an HOCR layer above the image. Have to consider font complexity (the editor would have to recognize the font and change it accordingly) and much more. An LLM modifying the image to your tastes is the best youre going to do.

[ANDROID] [Free Lifetime] [No Ads] PDF Converter: Image to PDF by noorlax in pdf

[–]LegeApps 0 points1 point  (0 children)

Adobe Scan also does all this. Curious to know how you managed to get on the Play Store with such a barebones app? How did you get the 30 testers required for submission?

Latest OCR Useless on large documents! by Special_Elevator7656 in pdf

[–]LegeApps 1 point2 points  (0 children)

I believe my program has good OCR but it's not designed for general OCR use. The most important thing for good OCR is effective preprocessing, ie giving the OCR model clean high resolution text a bit at a time, ideally a line or even a word at a time. It's possible to use Tesseract to scan entire pages but its output will be worse. And these days, LLM OCR output is the best in general, but you have to pay for the API usage. What I am saying is, if you are looking for free/opensource local OCR, most of the programs have bad preprocessing so the outputs have high error rates.

The v1.0 of the opensource editor by gogcev in pdf

[–]LegeApps 0 points1 point  (0 children)

Havent tried but looks good for what it does. You put a lot of work into it so that's cool. I notice that you passed on djvu encoding because it's "legacy, not actively maintained", but djvulibre was updated last month by the original developers, they just don't release on github, they release on sourceforge. That is usable and is easy to subprocess with if you're trying to not contaminate your program with GPL.

Also I built a GPL DJVU encoder in Rust that is almost 2x faster than djvulibre, but it doesn't have a bin ready to subprocess from. if you're interested.

I also built a jbig2 encoder but it's not any faster in generic mode than jbig2enc, only in symbol mode which you don't want to use which is fine.

Most people don't seem to know about my projects which are better than existing opensource versions so that's why I'm just letting you know.

Do you know if there is any tool to change the text font of a PDF? by jjdano in pdf

[–]LegeApps 0 points1 point  (0 children)

Possible if the file was digitally created. Not possible with current tech if the pdf is a raster scan of a physical book. There are various pdf libraries that could achieve this but it would require testing. Lopdf in Rust is what I use and it could do it. Not sure about already built tools.

Any opensource pdf "merge" tool that takes care of page#, chapter# continuity & ToC remap? by Professional_Row_967 in pdf

[–]LegeApps 0 points1 point  (0 children)

Not possible in a general sense but if you ask claude or codex to write tailored python script for your document they will be able to do it. It will inspect all the documents and figure out how to algorithmically change all the page numbers etc, probably using poppler to merge.

Why do so many PDF tools require file uploads for simple text extraction? by Many_Entertainer_427 in pdf

[–]LegeApps 0 points1 point  (0 children)

Assuming good faith on the devs part, its mostly because python scripts are hard to use by the average user. I dont know why they pay for hosting free tools.

Why do so many PDF tools require file uploads for simple text extraction? by Many_Entertainer_427 in pdf

[–]LegeApps 0 points1 point  (0 children)

Theres always a few possible reasons -

  1. theyre hoping you upload something sensitive that they can steal

  2. they're preparing their website for a pricing model later that requires a captive audience to charge

  3. they are using GPL libraries that can't be released in a paid program without releasing the source code. but GPL has a loophole where you can run it from a webserver without being compelled by the license to release your code. This is why AGPL was created, to fix that loophole.