Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [png]

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

0
votes
0answers
73 views

How to include PNG (or PDF) and EPS Files in LaTeX (Overleaf)?

I need to include both types of these files in my document (and definitely need EPS as I'm importing organic mechanisms), but I can't seem to find anything that works. As such, I'm on the setting ...
1
vote
0answers
142 views

Transform 150,000 computer generated TeX images to LaTeX code

The Encyclopedia of Mathematics is based on an encyclopedia that had its formulae written in TeX, which were saved as png images. On its way through the various publishers the original TeX source code ...
-1
votes
1answer
97 views

Save tikz image and use away from latex

I need to create and save latex drawing so i can use there else where. Im using the code \begin{tikzpicture}[scale=0.8,domain=-2:20] \begin{axis}[ height = 11.7cm, width = 15cm, axis lines=middle,...
0
votes
1answer
58 views

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 ...
3
votes
1answer
107 views

A light Command Line Latex Software

I'm very new to LaTeX and want to implement Latex in Open Office for just writing mathematical equations just like: http://www.hostmath.com/ so that I can write mathematical equations directly (...
0
votes
2answers
38 views

Latex beamer custom logo

How do i convert a black and white logo of mine To have the effect as down below?
2
votes
1answer
150 views

How to convert pgfplots to high quality PNG file with Ghostscript?

Note: This is not a duplicate of How to save a figure produced by tikz save/export as JPG/PNG file. This question deals with Ghostscript and quality concerns. The other question does not deal with ...
0
votes
0answers
55 views

PDF and PNG different in size

When I use different types of pictures (png and pdf) although defining them with same size, I get different sizes as can be seen in the following . Here are the packages and code I use: \begin{figure}...
0
votes
1answer
49 views

Convert to png (imagemagic) introduces errors with basic figures

I have a tikz picture that is basically some rectangles filled with simple commands such as \draw[black,fill=Black](0.8,0.55)--(1.2,0.55)--(1.2,0.9)--(0.8,0.9)--cycle; Nothing fancy. I save them ...
6
votes
2answers
821 views

How do I export tikzpictures to png (Using GraphicsMagick?)

I want to export some of my LaTeX figures to .png with a clear background, so I can use them in my PowerPoint presentation. I'm using TexStudio with MikTex on Windows 10. I've been recommended ...
1
vote
0answers
326 views

How do I export tikzpictures to png for use in PowerPoint?

I have made quite a few figures for my thesis in LaTeX. I now want to export about five of those figures as .png with a clear background, so I can use them in my PowerPoint presentation. I'm using ...
1
vote
1answer
986 views

How to align images and text in same line?

I am trying to align 3 images and text such that text is left aligned and images are all right aligned but can't figure out how to do it. Following is the code snipped I have written for the same. \...
1
vote
1answer
85 views

Error when using dvipng: “+tlig; source file could not be found”

I am trying to use dvipng to compile .tex files to .dvi and then to convert it to .png. Here is the test.tex file that I am using as a minimum reproducible example: \documentclass[]{article} \title{...
0
votes
1answer
57 views

PNG file as figure generates character error [closed]

In an Overleaf article I import a produced with GIMP as follows: \begin{figure}[ht] \centering \input{global_time_space_v02.png} \caption{\label{fig:global_time_space}Global ...
1
vote
0answers
79 views

How to compile a document that both uses jaxodraw feynman diagrams and png images

I initially had a problem getting feynman diagrams, which were produced using jaxodraw, to show properly (due to using psTricks). I've solved that problem using the suggestion in the answer to ...
1
vote
1answer
183 views

White box and artifacts over the corner of a PNG image

I seem to have run into the same issue as described in this (previously closed) question. \begin{figure}[ht] \centering \includegraphics[width=\columnwidth]{loop.png} \caption{A 16-bit ...
0
votes
0answers
36 views

Preserving text-chunk when inserting PNG

PNG image format has the useful capability of allowing generic text-chunks in the image. Like other classical metadata (exif) it would be great that they could be preserved after being inserted in a ...
0
votes
0answers
90 views

png image looking very strange

I'm using latex for years, never seen something like this. The png appears like cut, don't even know how to explain. This is the original image, I mean how it looks when opened by other app (like ...
1
vote
1answer
344 views

Standalone convert doesn't work

I'm using TexMaker and want to make a PNG file from a TikZ figure. When using the preview option in standalone class, I get a beautiful PDF, but when switching to convert I get a massage that "Process ...
0
votes
1answer
248 views

tikz to png won't work

I am trying to convert a TikZ file to png following this answer to a similiar question: TikZ to non-PDF. This is a mwe: \documentclass[convert={density=300,size=1080x800,outext=.png}]{standalone} \...
0
votes
0answers
43 views

Using R plot in Latex output - not finding saved .png [duplicate]

I am trying to create a plot in R and use knitr and latex to print that plot to a pdf. I think I am taking the correct steps: 1. save plot as .png in same folder as .tex file 2. write this into the ...
2
votes
0answers
310 views

Trouble to compile both *eps and and png (or jpg) together

I have been trying to compile both *eps, it works with % !TEX TS-program = latex but I can not compile *eps format with other formats like PNG or JPG, I am using Texstudio with Mac (especially with ...
2
votes
1answer
133 views

How import png image from directory as nodes using nested for loop

Is it possible to generate separate and edited png files from a directory using a (nested) for loop? I have a directory of png files and I want to annotate each one individually and then export them ...
10
votes
5answers
2k views

Printing a table as PNG?

I wrote a whole latex file. Due to journal's restrictions, I am forced to submit a word file. Since I have pretty complex tables: I don't want to rebuild in Word and copying tables with snipping tool (...
6
votes
3answers
2k views

The PNG image of a TikZ picture that is generated by the standalone document class has the wrong dimensions

Consider the following LaTeX manuscript, which uses the standalone document class to generate both a PDF as well as a PNG images of a TikZ picture. \documentclass[tikz,convert]{standalone} \begin{...
0
votes
1answer
591 views

Issues importing a png file to Latex

I'm having trouble compiling my document since I added a figure to it. Checked the other related questions, but so far solutions did not apply... I'd be thankful for your insights! This is what the ...
4
votes
1answer
363 views

preserving pixel resolution when converting to PDF

I have a latex file that overlays tikz output onto a PNG file. The PNG file is a 512x512 pixel image which perfectly represents raster data (via a colormap) from an external data set. The tikz file ...
0
votes
1answer
949 views

How to do shell escape?

I read the answers and I'm not getting it. Some of them tell me to use preferences, others tell me to input %!TEX option = --shell-escape at the start. Here's what my screen looks like, to show ...
1
vote
0answers
537 views

embed gif to latex-beamer? [closed]

I'm trying to embed the this GIF https://en.wikipedia.org/wiki/File:Bernstein_Approximation.gif to beamer but I can't succeed. I converted GIF to the PNG but all websites convert that GIF wrongly (...
4
votes
1answer
512 views

pdflatex crashes when inserting png [closed]

I have a very simple problem. I have issues inserting .png in my LaTeX document. Here is an example: \documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics[width=...
5
votes
4answers
867 views

Produce cards with a PNG background for each card

I need to produce 50 playing cards (60x90mm) with a template available in PSD or PNG or anything else (see picture below). Here is what I tried: \documentclass{minimal} \usepackage[paperheight=6cm,...
2
votes
0answers
350 views

Lossless \includegraphics for PNG without conversion for pdflatex/xelatex

I try to find a way to include raster graphics in pdflatex/xelatex without repacking/conversions/etc. Accorging to "pdflatex that does not change the image data. This can be tested" (from "PNG and ...
2
votes
2answers
395 views

Selectively use PNG or PDF for externalized TikZ pictures

It is possible to ask the code for externalizing TikZ pictures to convert the generated PDF to PNG figures thanks to ImageMagics. This however gives higher figure weight for some light figures. What ...
2
votes
1answer
487 views

Why is this PNG image (with transparency) going crazy when I include it? [closed]

Nothing's wrong with the PNG as far as I'm aware, but I'm getting some wacky behavior from it (MWE below). The problem goes away when I remove -transparent white from the ImageMagick options. MWE % ...
0
votes
0answers
90 views

Why PNG do not appear in XDVI?

I have a LaTeX file with several PNG files inside. They appear beautifully in the PDF file generated by pdflatex. However, XDVI shows only a red frame where there should be the images. Any idea how to ...
0
votes
5answers
696 views

Generating logos using latex

Is there a package to generate logos given some text and parameters? So, \begin{logo} \background-color green \text-in-logo Drummer Society \text-color orange \end{logo} Or a variation of it ...
1
vote
0answers
228 views

PGFPlots: PNG has wrong rotation in .tex after matlab2tikz export

I got a problem, which I am somehow not able to solve for days. I created a graph in Matlab and wanted to import it in my LaTeX document. This is my MATLAB Code. figure(); subplot(2,1,1); L_input = ...
2
votes
1answer
388 views

LaTeX math as an image of a specific size

I know very little about TeX and LaTeX, but I often encounter strings containing markup described as LaTeX, because various tools, including MathJax, SymPy and Apple's Grapher, use LaTeX as a lingua ...
6
votes
1answer
33k views

Inserting PNG file as is

I'm inserting PNG file and it's rendered enlared, somehow. Here is MWE: \documentclass{book} \usepackage{graphicx} \begin{document} \mainmatter hello, world. the following screenshot should be ...
2
votes
1answer
565 views

Beamer warning: large interlaced PNG might cause out of memory

I have a long Beamer presentation that gave me no errors or warnings on texlive 2013, but since I upgraded to texlive 2015, I get the following warning: large interlaced PNG might cause out of ...
4
votes
0answers
282 views

Fast PNG embedding using xetex

As discussed in this post and also this post, pdftex has the ability of copying PNG files as-is if they are in the right format. This is very useful for me (I’m experimenting with 1024×786px ...
1
vote
1answer
2k views

png figures in latex

I have been struggling for a while trying to insert png figures. I want to use powerdot so I should go through latex->dvi->ps->pdf. The following did work until my last update \includegraphics[width=...
7
votes
2answers
2k views

Image compression

I am using texmaker and is writing a thesis where I have many different images. These images needs to have a pixel perfect accuracy so the results are not incorrect. I have many png images I would ...
4
votes
0answers
13k views

LaTeX Error: Option clash for package graphicx [closed]

I have been trying to implement the solution that is mentioned here to solve the error, "Cannot determine size of graphic". However when I want to add \usepackage[dvipdfmx]{graphicx} \usepackage{...
2
votes
1answer
171 views

Weird MetaPost output when using PNG

Whenever I try to output PNGs with metapost, I get really bizarre outputs. For reference, I'm using Windows 7 with MiKTeX 2.9. The metapost code I'm using is adapted from the metafont example on the ...
3
votes
1answer
240 views

git-latexdiff and relative imports on linux

I have a paper which is basically structured in a directory this way: mypaper/ main.tex sections/ intro.tex methods.tex conclusions.tex img/ img1.png ...
2
votes
1answer
279 views

How to skip latex error and generate document

I am trying to generate image formula from latex (Formulas given by a third side). First of all i am writing a tex document, like: \documentclass[12pt,border=5pt,varwidth]{standalone} \usepackage{...
2
votes
1answer
268 views

Two tikz png's from matlab to tex in same figure gives grouping error 255

I've tried to create a figure in LaTeX for my MSc thesis using two separate tikz figures. The tikz figures were exported from MatLAB using the following command: matlab2tikz('tikz/figure.tikz', '...
0
votes
2answers
348 views

Is there a .png command like \includepdf[pages={x-y}]{Figures/Figure.pdf}

I'm making the cover for my master's thesis. I've used \includepdf[pages={x-y}]{Figures/Figure.pdf} to insert full-page PDFs, but my cover is a png. Is there any similar way to insert a full-page png? ...
4
votes
0answers
584 views

How do I improve the quality of png images when converting to html using htlatex?

I have tried to convert my LaTeX document into xhtml running the following commands (found here): htlatex source.tex tidy -asxhtml -output seconddraft.xhtml firstdraft.html Everything displays ...