Graphics, Figures & TablesParts of included EPS file cropped

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
weltio
Posts: 6
Joined: Tue Dec 25, 2012 3:52 am

Parts of included EPS file cropped

Post by weltio »

Using the attached EPS file. The resulting PDF version is cropped at the right side - just a few pixels but it's really annoying

Code: Select all

\documentclass[12pt,a4paper,twoside]{report}
\usepackage{graphicx}

\begin{document}
\includegraphics{cloud}
\end{document}
So far I tried

Code: Select all

eps2eps
epstool --copy --bbox 
epstopdf --exact
Nothing helped. Even when I import it into GIMP and change the dimensions (from 100px width to any other value) it will be cropped. The only way I got a not cropped version was, when I imported it into GIMP using 100px width.

Any suggestions?
Attachments
cloud.eps
(137.21 KiB) Downloaded 433 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Parts of included EPS file cropped

Post by Johannes_B »

Hi, i just took a look into your eps and it seems your inputfile is damaged at the right border. The blue curve is not as smooth as i guess it is supposed to be.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Parts of included EPS file cropped

Post by localghost »

The EPS file is already "damaged". It is missing a small piece on the right side. And this can't be repaired by correction of the bounding box. So it does not surprise that the PDF output shows the same.

Perhaps you like the attached file as substitute. It has been drawn by using TikZ/PGF and then was cropped by pdfcrop.


Thorsten
Attachments
cloud.pdf
(2.78 KiB) Downloaded 248 times
weltio
Posts: 6
Joined: Tue Dec 25, 2012 3:52 am

Re: Parts of included EPS file cropped

Post by weltio »

Thank you. I should have seen this. It's really a mistake by Cisco.

I solved the problem by downloading the black and white version and replaced the black color with that used in the color version.
Post Reply