Questions tagged [png]

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

PNG (pronounced "ping"; Portable Network Graphics) is a lossless bitmapped image format. PNG was created to improve upon and replace GIF (Graphics Interchange Format) as an image-file format not requiring a patent license. PNG was developed to replace GIF () since GIF contained a proprietary compression (LZW). GIF also had other drawbacks such as limited colour range. The compression used for PNG does not compress photographs much and is hence not useful for complex images with colour gradients. Compression is, however, very good for line graphics.

In (La)TeX, questions concern inclusion of graphics into documents and issues where the compression may become an issue.

222 questions
8
votes
1 answer

Exporting .png or .jpg files directly from LaTeX code. Possible?

Sometimes it's impossible to upload .pdf, .dvi and .ps files (usually images of diagrams generated with TiKZ in my case). There, one wishes to obtain a way to export them directly to a .png or some other pic-like file extension. Unfortunately the…
c.p.
  • 4,636
4
votes
1 answer

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 which is too big, almost as though it has expanded…
4
votes
1 answer

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 of example, on linux it would be $ pdflatex…
Rax Adaam
  • 1,747
2
votes
1 answer

Create PNG image from PSTricks drawing

Can I turn the following drawing into a PNG image? If so, how do I do it? % xelatex .tex \documentclass[11pt]{article} \usepackage{fontspec} \setmainfont{Calibri} \usepackage[margin =…
1
vote
1 answer

create PNG in bulk varying numbers in latex code

The following code creates the graphic below (credit to @Schrödinger's cat): \documentclass[tikz]{standalone} \usetikzlibrary{matrix} \tikzset{ numbersrow/.style={ matrix, matrix of nodes, nodes in empty cells, …
mvww11
  • 43
  • 3
1
vote
1 answer

Outputting whole pages as .png

I need to output some .pngs of the whole page (in fact, I need the left and the right page sticked, I am currently doing this by imagemagick). I am aware that this can be done with the standalone class, but I need to do this with whole books in the…
0
votes
1 answer

Saving table as PNG

I'd like to save the following table as png. I've tried this and using the Linux program convert, but both saved the whole page instead of just the table. I want to save just the table as png. How can I do…
whoami
  • 49
  • 6