The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [png]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
51 views

dvipng: PK file ends prematurely

I get a .dvi file that is fine when using Yet Another Previewer as the following: But when using dvipng to convert it into .png file, it report error as follow C:\Users\shore\AppData\Local\Temp>...
0
votes
0answers
55 views

Can somebody give me a simple explanation on how to turn a LaTeX table into a png image?

Before you say this has been asked before, I did try to look this up and found these thread: Printing a table as PNG? Compile a LaTeX document into a PNG image that's as short as possible The ...
1
vote
1answer
59 views

Why does `convert=ghostscript` destroy equations on high density?

I want to create a high-resolution png to include it into a A0-poster. My Idea was to use the standalone package with the convert=ghostscript option. \documentclass[border=2pt,convert={ghostscript, ...
3
votes
0answers
56 views

Including a greyscale PNG image gives wrong colorspace in resulting pdf file

I am preparing a large document that will be printed in one colour, and I tried including a few images in png-format that have been converted to a greyscale colorspace (DeviceGray). In the resulting ...
1
vote
1answer
62 views

Is it possible to create an animation (in a pdf) from a sequence of images?

I have a sequence of images A, B and C (hopefully, all of the same size, but this is not necessarily the case). Note that I could have more than three images. The images should be in the .png format (...
4
votes
1answer
169 views

PDF vs. PNG figure: why does figure load so much faster even if file sizes are the same?

I have some figures I'm making that consist of tens of thousands of points. The PDF version of one of these figures is 1.1 MB, while the PNG version is 1.3 MB (both figures generated with the ...
1
vote
0answers
406 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
151 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 ...
0
votes
1answer
108 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
86 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
144 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
51 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
232 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
61 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
51 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
1k 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
455 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
1k 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
100 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
73 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
96 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
204 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
46 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
101 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
429 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
325 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
65 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
374 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
142 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
3k 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
727 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
436 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
1k 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
575 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
559 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
901 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
417 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
460 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
541 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
124 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
792 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
234 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
416 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 ...
7
votes
1answer
43k 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
635 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
310 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 ...
5
votes
0answers
14k 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{...