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

learn more… | top users | synonyms

4
votes
2answers
6k 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} ...
7
votes
2answers
2k views

PNG and JPG quality loss inserting webpage screenshot into LaTeX document

I have tried using both a png and jpg file format for my images but I still loose a significant amount of quality when I run pdflatex. Is there some way to work around this? \documentclass[12pt, ...
12
votes
4answers
764 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?
0
votes
1answer
64 views

dvipng: limit cropping in a single direction

I know that -tight switch arranges the image size to include all the ink on the page. For this instance, however, I want to give a width of my choice and crop only in the vertical direction. ...
6
votes
1answer
1k 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 ...
5
votes
1answer
560 views

LaTeX producing black background with transparent png

I am trying to use png images that are transparent. This is an example of my LaTeX file (I am intentionally putting the images on top of themselves): \documentclass[10pt,letterpaper]{article} ...
12
votes
2answers
1k views

How to convert a png into pdf using LaTeX?

I have a larger png image: width is 5400 pixels and height is 3850 pixels. I need to transform it into a pdf file in SPA3 size, which means 320mm x 450mm. Is there a way to do it with LaTeX? What I ...
84
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 ...
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 ...
5
votes
1answer
285 views

Formulae PNG anti-aliasing [closed]

I would like to render formulae in PNG format for use in various websites. The problem is, every rendering tool I've come across seems to assume a particular background color to perform anti-aliasing, ...
4
votes
1answer
275 views

inserting png introduces inputenc error

I want to write an article in Chinese, which needs to insert pictures. It's fine when I insert pictures as .pdf but the following problem occurs if .png is inserted: ! Package inputenc Error: ...
2
votes
1answer
242 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 ...
2
votes
1answer
353 views

Graphing algebraic functions and converting to image (PNG)

My goal is to be able to generate, on-the-fly, a small variety of graphs--linear functions, quadratics, inequalities, multiple plots of each. Nothing more complex than what you'd see in a high school ...
0
votes
1answer
142 views

\cancel does not work with emf

In OOoLaTeX for OpenOffice, when I use \cancel in .png format, it works, but it does not work for .emf format. For the .emf case, it just puts a weird symbol on the letter. Any idea? Edit 1: In .emf ...
5
votes
5answers
438 views

LaTeX images formatting

I'm writing a report and inserting a few raster images in (in PNG format) using: \usepackage[pdftex]{graphicx} \includegraphics[width=4in]{poker.png} My problem is that when saving as a PDF the ...
7
votes
2answers
948 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 ...
1
vote
1answer
595 views

LaTeX to HTML conversion with Kile

I am using Kile to convert a .tex file to HTML (LaTeX to web) but when I look at the HTML page it does not show me the images. I tried including them in PostScript and PNG but still the HTML page does ...
1
vote
1answer
650 views

How to export a table?

I defined a table in LaTeX : \begin{tabular}....\end{tabular}. Now i want to export that table to an image (PNG or something}. It is possible? How can i do that?
0
votes
1answer
999 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 ...
4
votes
1answer
955 views

RGB Colors in TikZ and conversion with ghost script to PNG

Since a few days I am trying to find a solution for the folowing problem: I am creating a Tikz picture with a simple rectangele and fill the rectange with a special RGB color. The code looks like ...
6
votes
1answer
618 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] ...
3
votes
1answer
262 views

In dvipng output, why does one side of equation expand to size of fractional side?

I have been using dvipng to produce png images of latex equations to be embedded in html, and the output is very nice. However, for equations with a fraction, the non-fraction side produces a font ...
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 ...
1
vote
2answers
2k views

Script for LaTeX formula to image conversion [duplicate]

Possible Duplicate: TeX to image over command line Is there a script for converting LaTeX math formulae (not document) to PNG, GIF or JPEG?
2
votes
1answer
1k views

\includegraphics[width=40mm], reserves correct space, but includes full size image

I'm using the following code to include an image. The reserved space in the resulting .pdf document is correct and changes according to the width I set. Nevertheless, the .png is always embedded in ...
1
vote
0answers
603 views

beamer doesn't show png and pdf files [closed]

I have included .png and .pdf files in my beamer presentation. When I compile the document I can't see them. The documentation I read claim that both .png and .pdf should are readable by beamer. How ...
1
vote
1answer
7k views

including .png images with PDFLaTeX through Kile

I have a lot of experience using LaTeX with Miktex/TeXnicCenter on windows, but am only taking baby steps in learning how to do it on ubuntu. I am using Kile as IDE, since I got the impression from ...
1
vote
0answers
752 views

Images (png) are very blurred when printing pdf (generated with pdflatex) from linux [closed]

When I create a pdf file using pdflatex which includes png images the output of the pdf looks fine in my linux and windows pdf viewer. However, when printing this file from linux to a network printer ...
2
votes
0answers
1k views

xdvi/ghostscript error on inserting a png into a LaTeX file [closed]

I'm trying to include a .png picture into my LaTeX .dvi file. I use Emacs on Debian, if that is of any importance. I do this by \usepackage{graphicx} \graphicspath{{./dia/}} and then ...
1
vote
2answers
324 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} ...
8
votes
4answers
2k 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 ...
1
vote
0answers
406 views

Sweave won't create PNG images [closed]

Up to this morning Sweave() was regularly creating images in png format (I used png=T as an argument). At some point Sweave would no longer create any PNG image (this is a problem for me 'cause ...
0
votes
1answer
418 views

Problem with pdflatex and colored output files: PNG and PDF

I need to create PNG and PDF files from the same .tex source using pdflatex (Texlive 2010, Ubuntu). To make PNG files, there's no problem with dvipng utility. But with PDF files (created by the ...