Friday, November 26, 2021

Add Picture to PDF File

Preview is a versatile tool to view and edit various types of files, including PDF. For example, by using Preview, you can add new text, lines, object shapes to a PDF file. However, it seems, at first,  that images could not be directly added to PDF file(no ways from Previews' menu or toolbar icons), none be directly pasted to.


Just a shorting time searching from internet, I found a way to do that.  Here is the trick to do that:
  1. First copy and paste an image to Preview by Ctrl+N as a new image file;
  2. then select all or part of image and make a copy (Ctrl+C).
  3. Paste the selection by Ctrl+V.
  4. Select all again (Ctrl+A), and
  5. cut the selection(Ctrl+X). This new copy will be as an object instead of image.
  6. The last step is to paste the object to your PDF file in Preview by Ctrl+V!

References