{png} concerns the PNG (Portable Network Graphics) bitmapped image format which employs lossless data compression.

learn more… | top users | synonyms

51
votes
6answers
5k views

Which graphics formats can be included in documents processed by latex or pdflatex?

There several types of graphics files. In no particular order .jpeg .eps .pdf .png .tif .jif (and no doubt others). Some work with latex, dvips and some work with pdflatex. How am I supposed to know ...
34
votes
1answer
81k views

Cannot determine size of graphic

I'm trying to include graphics in my Latex-file, which I compiled with latex+dvipdf on OS X. Latex however returns this error: "Cannot determine size of graphic" My graphic is exported from ...
86
votes
3answers
6k views

Choosing whether to include PDF or PNG in PDFLaTeX

Can I tell graphicx somehow which graphic format to choose when I omit the file extension in includegraphics and both a PDF and a PNG version of the same image exist? The reason is that I have some ...
34
votes
2answers
2k views

Fast PNG embedding using pdflatex

I have a LaTeX document, that includes a lot PNG images. It takes about 18 second to compile. Most of the time is spent for the inclusion of the PNG images. The pdfTeX 1.40 manual from ctan states on ...
5
votes
3answers
6k views

MikTex error for PNG images when trying to produce DVI

I have a tex file with \includegraphic elements for some PNG images. I use MikTeX on Windows and the PDF is fine. Now, I need a DVI so I tried using: \pdfoutput=0 This creates a DVI, but only after I ...
26
votes
4answers
7k views

Pixel-perfect vertical alignment of image-rendered TeX snippets?

What is the most accurate way to automatically calculate the text baseline in an image that has been rendered from a TeX snippet—so that the rendered image can be given proper vertical alignment in a ...
12
votes
4answers
830 views

What causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?

Internally, what causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?
6
votes
1answer
2k views

PNG DPI and image size

I created a PNG file (763px by 600px at 72DPI) from a free image. I opened the image in GIMP and changed the DPI to 300 and saved it. After including it in a LaTeX file with ...
8
votes
4answers
3k views

Included png appears too big in PDF

I'm a beginner with LaTex and writing an article in it (letter-sized). WinEDT and MikTeX (versions seen in the log). I have a PNG chart (obtained from R/ggplot2) which is 471 x 335 pixels and which ...
4
votes
2answers
765 views

Avoid eps to png conversion using mk4ht oolatex

I have a big set of eps images and I need to place them into an OpenOffice (odt) document. I wrote a simple script that creates a tex file containing these eps images and now I'm trying to convert it ...
6
votes
1answer
681 views

From inside a LaTeX article, I want to render several parts of the code into a separate png (a “render pass”)

I have a long article with many, say, TikZ images. Let's say it looks like: \documentclass{article} \usepackage{tikz} \begin{document} ...much more stuff... \begin{tikzpicture} \draw[red] ...
1
vote
2answers
341 views

Whitespace problems with DVIPNG with LaTeX

I am trying to use LaTeX to output DVI files, then use DVIPNG to make images for, say, a website. The problem is when I take something like this: \documentclass{article} \pagestyle{empty} ...
7
votes
2answers
1k views

moderncv - filesize of pdf too big

I managed to work out how to create a job application that is entirely written in the moderncv style. I use the moderncv class itself for my CV and the attachments (making each document a section with ...
13
votes
2answers
1k views

Big data surface plots: Call gnuplot from tikz to generate bitmap and include automatically?

Motivation I have large numerical data files, that I would like to create density (surface) plots of. Since they are very big, we can rule out a few possibilities such as to plot them directly with ...
4
votes
2answers
466 views

PSTricks -> How can I compile a graph/figure to obtain an PNG/JPG with background transparent?

How to obtain this graph in a PNG/GIF/JPG graph with transparent background? \documentclass[12pt,a4paper,x11names]{report} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} ...
5
votes
2answers
8k views

Error including a .png: Cannot determine size of graphic

I have a little problem: I am not able to put an image in my document. This is how I start: \documentclass[a4paper,12pt,titlepage]{report} \usepackage{fontenc} \usepackage[italian]{babel} ...
0
votes
2answers
117 views

What is the common approach to include pictures/figures from pdf files or other sources? [closed]

What is the common approach to include pictures/figures from pdf files or other sources? My approach is to save the graphic as a jpg. Afterwards I include it into a Power Point and safe it from PP to ...
0
votes
1answer
1k views

Add Latex font for figure labels, legends and equation annotations with .png and .eps figures

For exporting eps figures from Matlab i use matlabfrag and laprint functions so that i split the psfrag commands (.tex) and figure(.eps) streams. During the compilation using pstool or auto-pst-pdf ...
7
votes
1answer
460 views

PNG figures in black and white

I'm trying to include a png figure and it works when I see it in dvi, but the ps comes in black and white. If I compile directly to pdf there is no problem. However I'm using psTricks for a different ...
4
votes
2answers
2k views

How to save a figure produced by tikz save/export as JPG/PNG file

I have created various plots using pgfplots package for my thesis. Now I would export them in jpg or png format. Does it exist a way to achieve this porpouse?
2
votes
1answer
449 views

How to convert an SVG image with LaTeX in Inkscape, to PNG?

I'm using Inkscape to draw images, together with the ability to produce the separate LaTeX file with all the text, as described here. So far, this has been working great, but now I am restricted to ...
2
votes
1answer
279 views

Cannot set pixel density in standalone package for PNG output

I want to output a PNG image with the standalone package. Here is a minimal working example: \documentclass[preview, convert={density=300}]{standalone} \begin{document} Hello world ...
1
vote
1answer
48 views

DPI for imported bitmaps

I am importing a number of .png files into my document as follows: \usepackage{wrapfig} \begin{wrapfigure}{r}{0.5\textwidth} \centering \vspace{-1.5cm} ...
0
votes
0answers
40 views

XeLaTeX: \includegraphics with a .png file shows filename in output. How do I hide this? [duplicate]

Possible Duplicate: How to include graphics with spaces in their path? Ok, I was creating graphs in GNUPlot and inputing them in my XeLaTeX file as I usually do, and then I realized that ...