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

learn more… | top users | synonyms

13
votes
2answers
3k 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 ...
2
votes
1answer
2k views

Include both eps and png figures, problem with dvipdfmx

I want to include both .eps and .png figures in a latex document. I did some research and find out the solution is to use dvipdfm package. However, this package does not include my .eps files in the ...
20
votes
3answers
26k views

warning: pdflatex> libpng warning: iCCP: known incorrect sRGB profile

when including .png converted with Photoshop CS6 to grayscale I get a warning "warning: pdflatex> libpng warning: iCCP: known incorrect sRGB profile" to be precise, I get 36 of this warnings ;-) ...
7
votes
1answer
895 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 ...
6
votes
1answer
247 views

TeX figure to .png

Let me begin with a confession: when someone says ``command line'' I nearly pee because I get so scared. I know that means I'm asking my question to the wrong community, and yes, I'm seeing someone ...
2
votes
1answer
307 views

Command(s) which would render a LaTeX document into a PNG on Mac

I am using TexShop on a Mac, which handles all of the rendering for me, but have been asked by a colleague to find the command(s) that would render the LaTex document as a PNG instead of PDF. By way ...
1
vote
0answers
43 views

Strange border on PNG images in pdf [duplicate]

I make figures in powerpoint, export them as pngs, and include them in my document. I sometimes get strange borders around them, sometimes around indivual elements of the ppt file, like this (black ...
4
votes
2answers
712 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} ...
1
vote
0answers
2k views

Inserted PNG file gets fainted [closed]

When I insert PNG file its colors become fainted. How I can avoid this effect? The PNG file The latex code: \documentclass[]{beamer} \usepackage{graphicx} \begin{document} \begin{frame} ...
7
votes
1answer
1k views

PNG as a background?

Is it possible to use a PNG image as a background, but with selected opacity? It seems to me that standard solutions found here can not change opacity of PNG... I assume, that in the following one of ...
2
votes
1answer
300 views

Generate png images of chemical structure using LaTeX, dvipng and chemfig

How to generate .png images of chemical structures using LaTeX, dvipng & chemfig ? What packages need to be included ? Is there any reference article for same ?
2
votes
1answer
270 views

dvipng error when using htlatex on eps file. includegraphics Unrecoverable error 36096

I am hoping someone here can give me a hint about this error. I am not really sure this is latex problem, but part of the software that I am using to process the latex document. The setup is very ...
0
votes
2answers
133 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 ...
2
votes
1answer
434 views

How to increase the dpi without increasing the size of the picture via dvipng?

There is a useful tool in MikTeX called dvipng, which can transform dvi file to png file. My question is about the useage of this command. I usually use it with options -T tight -D 120 -z 9 -bg ...
6
votes
0answers
4k views

Resolution (dpi) for \includeimage pictures and pdflatex [closed]

I am trying to create a pdf file with some pictures in it. Those are PNG files with 300dpi. I use texlive and pdflatex from Debian Squeeze. A simple code of my document would be: ...
2
votes
1answer
325 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
315 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 ...
10
votes
1answer
44k views

LaTeX Error: Cannot determine size of graphic in title.png (no BoundingBox)

I seem to be getting a strange error after updating MiKTeX 2.9. I am using pdfLaTeX and TeXmaker with the graphicx package to include .png images. When I try to compile, I get the error LaTeX Error: ...
2
votes
1answer
671 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 ...
1
vote
2answers
1k 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 ...
2
votes
0answers
199 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
2answers
15k views

Error including a .png: Cannot determine size of graphic [duplicate]

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} ...
4
votes
1answer
264 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 ...
7
votes
2answers
4k 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?
6
votes
1answer
3k 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 ...
1
vote
1answer
91 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. ...
15
votes
2answers
2k 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 ...
0
votes
0answers
41 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
349 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, ...
2
votes
1answer
394 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
444 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 ...
4
votes
1answer
418 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: ...
5
votes
1answer
852 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} ...
0
votes
1answer
157 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 ...
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 ...
4
votes
2answers
1k 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
4answers
4k views

Including graphics for both DVI and PNG

I'm asking a question is quite similar to this one (where I don't seem to be able to leave comments): MikTex error for PNG images when trying to produce DVI I'm producing a PDF document, but I'm ...
3
votes
1answer
432 views

LaTeX, dvipng and pipes

I am trying to create PNG images for each page in a LaTeX document on the fly. Since the startup time of LaTeX is the limiting factor for speed I tried the following approach using names pipes: Bash ...
8
votes
2answers
3k 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, ...
2
votes
1answer
2k 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
2k 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
897 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] ...
4
votes
1answer
347 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 ...
2
votes
2answers
3k 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
2k 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 ...
95
votes
3answers
10k 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 ...
1
vote
0answers
718 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 ...
29
votes
4answers
8k 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
1answer
11k 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 ...