103

Preview allows to add text and shapes to PDFs. But is it possible to add existing images (PNG / JPEG) to a PDF file as well?

I do know that Preview already has some of image embedding by allowing the user to add signatures drawn on the screen of an i-Device. But I couldn't figure out if this would also work with arbitrary files.

anki
  • 11,344
  • 7
  • 28
  • 63
muffel
  • 1,179
  • 2
  • 7
  • 9
  • 1
    You'd be much better off looking for other software to do this, rather than try to shoe-horn Preview's capabilities into your task. – benwiggy Sep 20 '20 at 11:34
  • @benwiggy Certified StackExchange moment. — How do I do X in Y? — Don't do X in Y. At least recommend what software to use if you want your comment to be helpful. – Arthur Khazbs Jan 08 '23 at 10:13

6 Answers6

259

Do as follows:

  • Open the image you want to paste in Preview.app
  • Select All (Command-A)
  • Copy (Command-C)
  • Paste (Command-V)

Now you have a copy of your image pasted above your old image. This is apparently meaningless, but the new copy is not just an image, but an object.

  • Click on the new image (round blue corners appear, no marching ants)
  • Copy (Command-C)
  • Paste on your PDF document. The image is an object, moveable and resizable. The original PDF is still a PDF, editable and all.
Marco Elio Tabacchi
  • 2,706
  • 2
  • 5
  • 3
  • 9
    I had to read this slowly to realize that there is the extra, non-obvious step of "pasting" the source image into the source image file *before* you can paste it into the target file. Thank you! – Nat Kuhn Aug 12 '22 at 21:05
  • 2
    I couldn't believe that Apple didn't apply this as a default function still. – kakadais Dec 13 '22 at 05:06
12

This is not a solution but still a work around.

  1. Convert the PDF document to an image with File » Export .. Choose PNG as the format and change the resolution as desired.

  2. Open the image file and select the whole image with Edit » Select All (or select just a part of it with the mouse if you wish).

  3. Copy the selection Edit » Copy.
  4. Go back to the document (which is now a PNG image) and paste the selection with Edit » Paste and resize it as you wish.
  5. Save the file as a PDF with File » Export as PDF (and rename it if the original PDF needs to be preserved).

Note a PDF made from an image is not searchable, so that is a drawback to this procedure.

mac
  • 161
  • 4
11

I spend a lot of time reading the "solutions" and no one was able to do what I want: Paste an image or photo in the middle of the content PDF pdf. Not just add a new page in the pdf with an image. And also don't use another app or software.

So here is the solution:

  1. Open your PDF where you want to add the image with Preview.
  2. Export it as a JPG with the highest resolution (That's what I did, not sure if it works with lower resolution)
  3. Open the image you want to add with Preview
  4. Open the exported file from PDF which at this moment is in JPG(is that clear?)
  5. Select the image cmd+a and copy the image cmd+c

At this moment you have 3 files open the original PDF(1), the exported JPG(2) and the image file (3) all of them with Preview.

  1. Paste the image cmd+v in the exported file JPG

Note: The image is pasted and has a square surrounding the image with dots y the borders to re-size the image.

  1. From the exported file JPG select (click over the image) and copy the image cmd+c

Here is where the magic happens:

  1. Go to the original PDF and paste cmd+v

Now you can erase the exported file.

nohillside
  • 92,308
  • 39
  • 198
  • 242
Heiner Camacho
  • 111
  • 1
  • 2
  • 4
    The trouble with this (and the original answer, which is the same method) is that you have to convert your PDF to an image. That's going to affect readability of text, and remove the ability to search. – benwiggy Sep 20 '20 at 11:36
  • 1
    @benwiggy The OP seems to paste back into the original PDF so its properties are preserved. I don‘t understand the need for the intermediate step (export as JPG) though. – nohillside Dec 30 '20 at 13:51
  • What this means is that the JPG doesn't have to be exported from the PDF. It can be any JPG, even the one that you want to put in the PDF. But even then you still have to Select All (CMD+A) and Copy (CMD+C) the image and Paste (CMD+V) the image into itself, before you copy it again to paste it into the PDF. – iMaddin Jan 07 '21 at 05:38
  • Yes, Only this method works - put image via Image Editor – Gediminas Mar 01 '21 at 10:01
  • Can confirm, only this method worked. – Cloud9999Strife May 01 '22 at 12:53
2

Automator includes an action to "Watermark PDF Documents", which adds an image file to every page of a PDF.

So, you'll need to separate out the target page in Preview (drag the thumbnail of that page to a Finder window), then apply the watermark to that page, then drag the single-page PDF back into the full document.

Arguably, the easiest and best methods may not involve Preview.

benwiggy
  • 28,223
  • 1
  • 36
  • 89
1

You can export images as PDF and import them as "page from file" into the target file. I'm afraid that in-page embedding might not be easy.

anki
  • 11,344
  • 7
  • 28
  • 63
0

If you don't mind the inserted image being in its own page, you can do Edit -> Insert -> Page from File... and select your image.

whoKnows
  • 335
  • 3
  • 9