I have used Preview to create a number of annotations for a PDF file. The annotations are a mix of boxes, ovals, text, arrows, etc…
Upon exiting and reopening Preview, it seems to have lost the majority of the annotations. Many of them still seem to appear in the Inspector's panel for annotations, however, the text is missing from most and many other edits are missing.
I've also tried recovering an earlier version of the file using Time Machine, and restarting the computer, but all versions past or present display the same corrupted / lost annotations.
OS X El Capitan 10.11.2
Best Answer
I have found a way to get back apparently lost annotations. Following the most popular answer to this post, if you are able to install the utility
qpdf
, which I did simply withbrew install qpdf
, via homebrew, then invocationqpdf --qdf original.pdf unpacked.pdf
has produced a file "unpacked.pdf" which contains my lost notes.These are a little visually corrupted, however this method may be a huge relief if you have lost all of your annotations! - in my case it got back enough so I can trasfer them to a better application. I'm going to try skim.
More info: I got a lot back (when opening
unpacked.pdf
in preview). However I later found a few annotations were not recovered (notes with empty bodies - perhaps any errors whichqpdf
gives may be suggestive of whether it did a fully recovery or not).However, I've just managed to get back more which the first unpack missed, by restoring an earlier version from time machine and just doing the same unpack process on that earlier file, which I called
unpacked-2
- resorting to that when some yellow notes have empty bodies in my case is giving me a high rate of recovery so far...