LaTeX forum ⇒ Graphics, Figures & TablesThat includegraphics / trim / clip bug

Information and discussion about graphics, figures & tables in LaTeX documents.
Q94DKHcq
Posts: 2
Joined: Sat Jun 18, 2022 4:32 pm

That includegraphics / trim / clip bug

Postby Q94DKHcq » Sat Jun 18, 2022 4:38 pm

When we use includegraphics together with trim and clip, the images don't actually get changed, but it simply hides parts of the images, so the PDF files become very large, and the files are less compatible (e.g. can't be opened with Libre Office).

Any solutions? Can we somehow make includegraphics work? Are there tools to post-process the PDF files and fix the images?

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net
LaTeX Beginner's Guide LaTeX Cookbook
kaiserkarl13
Posts: 673
Joined: Tue Mar 25, 2008 5:02 pm

That includegraphics / trim / clip bug

Postby kaiserkarl13 » Fri Jun 24, 2022 2:17 am

You might try Heiko Oberdiek's PDFcrop tool (https://ctan.org/pkg/pdfcrop), which ships with TeXLIVE on my distribution. Its main feature is to automatically remove whitespace from the edges, but it also allows you to set margins and clip much like graphicx does.


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 4 guests