Hacker News new | ask | show | jobs
by jle17 1957 days ago
> To do that on Windows or Linux (I use Mint in my PC) I think I'll have to print the Image as a PDF and then use some other software to "stitch" the two files together.

Actually the process on Linux is similar. On the PDF file, Right-click > Open with LibreOffice (which I believe is installed by default on Mint), then just drag the image onto it. You don't even have to open it, you can just drag the file. On KDE you can even drag it directly from the screenshot software window to the PDF.

1 comments

Is this really the same? If you open a PDF in LibreOffice, you'll get a version of the document that's effectively converted to an ODT. You're then adding a layer with an image in it, and then re-exporting the result as a PDF. I'd be shocked if this didn't break various parts of the layout or replace fonts, etc.

Really the underlying issue here is that the PDF format is overly complex and not really designed to be edited, so it takes a pretty large number of development hours to build something where editing a PDF in-place works cleanly. Obviously Adobe has software for this, and so does Apple. But it's not an easy ask. Actually, the hard part of this is not the fact that you can drag and drop an image (every Linux app already has this), it's that you can seamlessly edit PDFs in the first place. I would be shocked if there aren't some bugs in Apple's implementation where this breaks unexpectedly.