Graphics, Figures & TablesPDF crashes after including JPG figures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
sarju115
Posts: 4
Joined: Fri May 28, 2010 12:01 am

PDF crashes after including JPG figures

Post by sarju115 »

hi
i'm inserting graphs/figures using

begin{figure}[htpb]
\includegraphics{filename}
\caption{}
\label{}
end{figure}

command in mikitex. The graphs are produced in origin and converted into jpeg format @150 dpi (approx 1600x1225 pixels). But after compiling into pdf, the pdf file flickers in the bookmark section (wherever there are figures) and crashes after sometime. If the figures are removed, the problem no longer exists. Any suggestions on what might be wrong would be appreciated.
Sarju

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

PDF crashes after including JPG figures

Post by localghost »

sarju115 wrote:[...] The graphs are produced in origin and converted into jpeg format @150 dpi (approx 1600x1225 pixels). [...]
Always post full examples [1]. Origin should offer to export the graphs directly as PDF. I know for sure that you can at least export to EPS which can be converted to PDF. Nevertheless you should reduce the size of the graph. This might not matter after export to EPS.

[1] View topic: Avoidable mistakes


Best regards and welcome to the board
Thorsten
sarju115
Posts: 4
Joined: Fri May 28, 2010 12:01 am

Re: PDF crashes after including JPG figures

Post by sarju115 »

yes...using eps or pdf makes the output file stable.
any suggestion on the limit of file size if one is using jpeg files..my current jpeg file size is about 120~160kb.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

PDF crashes after including JPG figures

Post by localghost »

sarju115 wrote:[...] any suggestion on the limit of file size if one is using jpeg files..my current jpeg file size is about 120~160kb.
No. It only blows up the size of the final output.
Post Reply