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

learn more… | top users | synonyms

2
votes
1answer
438 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 ...
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 ...
2
votes
1answer
199 views

Trouble setting background color using Standalone's convert command

I'm creating PNGs directly from LaTeX using the xelatex, the standalone document class and the convert option of standalone. I have ImageMagick installed, and it all works fine. The only issue is ...
3
votes
1answer
243 views

Crop image bigger than page from top left to bottom right

I have a small problem when including an image bigger than an A4 page. Normally, I would use this code, but with this I am able to crop it using the bounding box, from 0, 0 to 500,700: %%image start ...
1
vote
1answer
662 views

png not scalable LaTeX using TexShop on Mac

After searching for a long time unfortunately I couldn't find a proper answer or used everything I found without any change. I have several PNG files to include into my thesis but after including a ...
4
votes
1answer
230 views

Convert Title Page from LaTeX (or the resulting PDF) into a PNG thumbnail

I have written a book in LaTeX using TeXStudio. My title page, which is the book cover, is created using LaTeX source (including images in it), rather than drawn in a graphical program, such as ...
2
votes
0answers
171 views

Submitting to a journal with only LaTeX, how to include transparent images and bitmaps? [closed]

The LaTeX submission process to the journal JCP involves Bundling all the bibliographies into a single file and embdeeding that into the source No external libraries Compile with latex not pdflatex ...
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 ...
5
votes
2answers
7k 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
822 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
65 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
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 ...
5
votes
1answer
596 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 ...
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 ...
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
308 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
297 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
274 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
373 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
143 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 ...
6
votes
5answers
495 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
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 ...
1
vote
1answer
657 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
837 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
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 ...
4
votes
1answer
1k 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
672 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
278 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
616 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
8k 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
803 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
338 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
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 ...
1
vote
0answers
421 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
435 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 ...