Search found 7 matches

by Laurens
Mon Feb 20, 2017 9:36 pm
Forum: Graphics, Figures & Tables
Topic: Images are empty
Replies: 14
Views: 13907

Images are empty

Thanks guys,

Natwidth and Natheight were the culprits, it works now.

I had those in there because I got boundingbox errors when I tried to compile using "LateX"
For some reason I always did Latex -> PDFLatex but clearly the first step is unnecessary.

Sorry to take your time and thankyou very much ...
by Laurens
Mon Feb 20, 2017 4:29 pm
Forum: Graphics, Figures & Tables
Topic: Images are empty
Replies: 14
Views: 13907

Images are empty

Sure.

The .png shouldn't matter much, I've used 3 different images by now and the problem persists.
by Laurens
Mon Feb 20, 2017 3:59 pm
Forum: Graphics, Figures & Tables
Topic: Images are empty
Replies: 14
Views: 13907

Images are empty

If it helps, I created a minimal working example with the same issue:

\documentclass[]{article}

\usepackage{graphicx}

%opening
\title{}
\author{}

\begin{document}

\maketitle

\section{}

\begin{figure*}
\centering
\includegraphics[width=0.8\textwidth,natwidth=915,natheight=663]{test.png ...
by Laurens
Mon Feb 20, 2017 3:28 pm
Forum: Graphics, Figures & Tables
Topic: Images are empty
Replies: 14
Views: 13907

Images are empty

Cheers for the tip.

I removed Miktex again and just finished the Tex Live install, unfortunately the same problem appears. Except the Ghostscript error when doing PS -> PDF now says GPL Ghostscript 9.20 instead of Miktex GPL Ghostscript 9.19. But that's pretty obvious.

So it is not connected to ...
by Laurens
Mon Feb 20, 2017 1:56 pm
Forum: Graphics, Figures & Tables
Topic: Images are empty
Replies: 14
Views: 13907

Images are empty

Thanks for the reply.

When I do DVI -> PS -> PDF on the other laptop, the document compiles fine and the pdf is the same, except the images are without color.
Now I get this error, so I suspect this is the source of the problem.
I already tried uninstalling Miktex and getting the exact same version ...
by Laurens
Mon Feb 20, 2017 10:25 am
Forum: Graphics, Figures & Tables
Topic: Images are empty
Replies: 14
Views: 13907

Images are empty

Some additional info:

The above happens when I compile with PDFLaTeX.

When I compile with DVI -> PS followed by PS -> PDF I get a new error that says:

"Miktex GPL Ghostscript 9.19: Unrecoverable error, exit code 1 Miktex GPL Ghostscript 9.19: ERROR: A pdfmark destination page 4 points beyond the ...
by Laurens
Mon Feb 20, 2017 10:17 am
Forum: Graphics, Figures & Tables
Topic: Images are empty
Replies: 14
Views: 13907

Images are empty

Hello,

I recently got a new laptop and suddenly my images won't show up in existing latex files.

I've got this code:

\usepackage{graphicx}
...
\begin{figure}
\centering
\includegraphics[width=0.8\textwidth,natwidth=915,natheight=663]{test.png}
\caption[ ]{test}
\label{fig : test}
\end{figure ...