Live data from Hacker News

PDF Tool – Modify PDFs in the browser without uploading

pdftool.org

121–130 of 198 posts

Re: PDF Tool – Modify PDFs in the browser without uploading

#122

On Linux I like to use: https://github.com/pdfarranger/pdfarranger and https://gitlab.com/scarpetta/pdfmixtool for such tasks.

Just wanted to say thanks for this, I've been looking for good PDF editor apps on Linux, and these fit the bill so far.

They also have flatpaks available on flathub, which makes it easy to install + keep updated.

Re: PDF Tool – Modify PDFs in the browser without uploading

#123

Does anyone know of a good way to tile large PDFs (i.e. split a single PDF into smaller pages)? Adobe reader only allows you to do this when printing and you can't save the tiled PDF as its own file.

Can you print to pdf, perhaps?

But I've done it with Illustrator previously, at least.

Re: PDF Tool – Modify PDFs in the browser without uploading

#124
post #110

Earlier quoted context omitted.

In the most unintuitive ways possible.

Been using Preview for years and only the other day did I realise you can redact stuff. It's the gift that keeps on giving.

Is it a true redaction, or just placing an object above? So many times things have been leaked because people think what you see is what's there.

Re: PDF Tool – Modify PDFs in the browser without uploading

#125

Does anyone know of a good way to tile large PDFs (i.e. split a single PDF into smaller pages)? Adobe reader only allows you to do this when printing and you can't save the tiled PDF as its own file.

Some time ago I had success with https://github.com/rrthomas/pdfjam for that purpose under Linux. It used to be included in the standard Debian repositories but that no longer seems to be the case which might mean it is an unmaintained project that has build issues. Worth trying though, if it builds on a modern system.

It might also be worth trying if the PDF reader in a Chrome/Chromium can use its “pages per sheet” option when using a print-to-PDF driver (included by default with Windows these days IIRC, likely available as an option at least on other OSs). You may lose some fidelity on things like images this way, depending on the options selected in the print to PDF driver.

Re: PDF Tool – Modify PDFs in the browser without uploading

#126

Does anyone know of a good way to tile large PDFs (i.e. split a single PDF into smaller pages)? Adobe reader only allows you to do this when printing and you can't save the tiled PDF as its own file.

I use pdftk on linux to do most of this type of stuff. For example if you want pages 1 -10 :

` pdftk {{input.pdf}} cat {{1-10}} output {{output.pdf}} `

If you want to do multiple files you may want to burst them and recombine. If you are doing it for file size purposes there may be better options though, as I dont think there is any way to split in 500kB chunks for example.

There supposedely is a windows version [here](https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/). I haven't used it though.

Re: PDF Tool – Modify PDFs in the browser without uploading

#127
post #100

Earlier quoted context omitted.

Workaround: 1. Install ServiceWorker. 2. Save data to LocalStorage/IndexedDB/ServiceWorker Cache/ServiceWorker Memory. 3. Wait for devtools to be closed, enabling internet access, send data from ServiceWorker.

I'd create a fresh browser profile just for this, download it, then point it to use a http/socks proxy that will never exist. Work around that.

> Work around that.

Easy. I use HTTP/3.

No, really, HTTP and SOCKS proxies cannot carry QUIC traffic, so browsers don't even try. They just send it right through.

If you block UDP, I guess I can still try DNS for exfil. HTTP proxies don't support DNS, and browsers need to be explicitly configured to proxy DNS through SOCKS, if the SOCKS proxy even supports it. Chances are, DNS exfil will work.

Now, if you were to do what I do to disable network access, then I'd have no chance: network namespace in a jail with zero network interfaces (not even loopback).

Re: PDF Tool – Modify PDFs in the browser without uploading

#128
post #110

Earlier quoted context omitted.

Been using Preview for years and only the other day did I realise you can redact stuff. It's the gift that keeps on giving.

Is it a true redaction, or just placing an object above? So many times things have been leaked because people think what you see is what's there.

Actual redaction. I didn’t know this existed until yesterday but apparently it’s been there a few years.

https://support.apple.com/guide/preview/annotate-a-pdf-prvw1...

Re: PDF Tool – Modify PDFs in the browser without uploading

#129

Does anyone know of a good way to tile large PDFs (i.e. split a single PDF into smaller pages)? Adobe reader only allows you to do this when printing and you can't save the tiled PDF as its own file.

mutool poster -x 2 -y 2 input.pdf out%d.pdf

Re: PDF Tool – Modify PDFs in the browser without uploading

#130
post #77

Earlier quoted context omitted.

> I don't see how that would help. Perhaps with the source you could setup an offline server on your own computer so you don't have to upload your data anywhere?

Then why use a browser-based tool?

Because they used web technologies to put together the program?
Post reply on HN