3

I cropped figures (*.pdf) from scientific PDF articles with the excellent Krop tool by Armin Straub:

http://arminstraub.com/software/krop

Everything worked fine until I needed to convert my final thesis from the usual PDF format to PDF/A-1b format for archiving. Suddenly, the surrounding full page around the images (that is, the text around the cropped picture) becomes visible in the PDF/A output. Maybe because this format does not support transparency.

Is their any way to tell LaTex to not embed the whole page of the image into the document, but only the cropped part that has been "marked" by Krop? Something like a "clipping area" or anything like this?

  • I would try a different graphics editor. You should be able to remove layers one at a time. – John Kormylo May 16 '16 at 14:33
2

From the PDF/A rules:

Transparent objects and layers (Optional Content Groups) are not permitted.

Link

Try using a different cropping tool that removes the margins rather than moving them to an Alpha layer for transparency.

  • Do you have a suggestion? – CodingButStillAlive May 16 '16 at 20:51
  • There is an auto-crop function in ImageJ I believe - or you can do it manually in any image editing program. – Daniel May 25 '16 at 14:54
1

Run your output pdf through the following command:

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
0

No. When a page of a PDF is included in a PDF by any of the TeX engines/device drivers it is always included completely; no destructive cropping or other manipulation is done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.