Graphics, Figures & Tablespdflatex wont import png files

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
SkyHiRider
Posts: 11
Joined: Mon Oct 18, 2010 2:14 pm

pdflatex wont import png files

Post by SkyHiRider »

I'm using pdflatex. Using

Code: Select all

\usepackage[pdftex]{graphicx}
\includegraphics[scale=0.2]{fifo-qdisc}
The file is named fifo-qdisc.png but the pdf only contains and empty square with the filename fifo-qdisc.png instead of the picture.

Question SOLVED: needed to disable draft mode in:

Code: Select all

\documentclass[12pt,oneside,draft]{fithesis2}  
Last edited by SkyHiRider on Fri Dec 03, 2010 10:02 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

Re: pdflatex wont import png files

Post by php1ic »

Sounds like you are using the 'draft' option somewhere in your document.

Read this link
http://www.latex-community.org/forum/vi ... =37&t=7878

Random bits of code are useless and make it very difficukt for people to help.
SkyHiRider
Posts: 11
Joined: Mon Oct 18, 2010 2:14 pm

Re: pdflatex wont import png files

Post by SkyHiRider »

Yes, it was draft mode! How silly of me, thanks.

That just proves that sometimes a mass of code is not needed, but I just didn't want to create a large post.
php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

Re: pdflatex wont import png files

Post by php1ic »

Glad to help, I'm not going to comment on you second sentence :D
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

pdflatex wont import png files

Post by localghost »

Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules. Please keep that in mind for the future so that further reminders will not be necessary.


Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Post Reply