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
0 answers
24 views

Rendering a PDF file, and/or converting PDF to PNG, with anti-aliasing and transparent background

I am trying to convert a LuaLaTeX-generated PDF file to a PNG file with anti-aliasing and a transparent background (white text on a black background). I have also posted a question here to see if ...
user avatar
  • 204
2 votes
0 answers
47 views

Best image format when vectorized doesn't cut it

So I have what I think is a pretty unusual usecase, which is why I made a new question for this. I have an image I want to include in a document which is a big noisy scatterplot. If I save it as a (...
user avatar
1 vote
0 answers
34 views

How to size the image resolution in Latex?

I'm using overleaf to write the report of a big group project. There are lots of figures in the file. Thing is, I noticed that the pdf file output is becoming larger and larger due to the large png ...
user avatar
0 votes
0 answers
34 views

How to prevent PNG and JPG files from oversizing for no reason?

I am using Revtext 4.2 documents with 2 columns. I tried to add a picture by using the following line of code: \begin{figure}[b] \includegraphics[width=\textwidth]{grad} \caption{Visualization ...
user avatar
5 votes
1 answer
247 views

PDF or PNG preferably for graphs and figures - font issues possible?

For graphs and small figures I have used TIKZ together with tikzexternalize until now, converting all figures into PDF, which then are included. This approach worked nicely, as it also allowed me to ...
user avatar
  • 1,669
0 votes
0 answers
38 views

standalone package resize as in original document

I am trying to use Latex images on my website. For this I use the standalone package. The problem is that it generates too large images. The text on these is much larger than the normal text on my ...
user avatar
0 votes
0 answers
57 views

LaTeX to PDF to PDFCrop to PNG by ImageMagick -- How to get PNG dimensions to not exceed 600 in width

I create PNGs from LaTeX files by first cropping the content from the PDF output using PDFCrop and then converting to PNG using ImageMagick. I always use the same settings but the width of the PNG ...
user avatar
2 votes
1 answer
420 views

Compile LaTeX to PNG of specific width and DPI quality and cropped as much as possible

I want to compile LaTeX files directly to PNG (preferably skipping PDF) and to have the outputted PNG be as cropped as possible around the content. The PNG output needs to very high quality and cannot ...
user avatar
1 vote
1 answer
71 views

pk: how to compute the advance of a given glyph

I am working on a Go library that reads a .dvi file and produces a .png file. I have already the packages that find+parse .tfm and .pk files working: I have the pk2bm, tfm2pl and dvitype equivalent ...
user avatar
  • 41
0 votes
1 answer
449 views

Latex Animate package - Package animate Error: None of the files

I am trying to make Beamer class with animations inside. This is my current code. It adds simply one frame, with animation made of 75 png frames named "out-0.png" to "out-74.png". \...
user avatar
  • 1
1 vote
1 answer
34 views

Using \newtheorem with the standalone document class

Is it possible to create a small file containing a theorem? (possibly using the standalone document class) Using the following code with the standalone fails: \documentclass{standalone} \newtheorem{...
user avatar
  • 51
1 vote
0 answers
72 views

Balacing text on the right or left column in a two-columns paper after using a figure* environment

I'm trying to set an entire image with a frame box at the top of the page using the environment figure*. The problem comes with the last row of the text in the right column (or left one) after ...
user avatar
  • 11
1 vote
2 answers
242 views

Compile LaTeX document to PNG automatically

I want to export chemical lewis structures as transparent PNG-files in order to use them in Word documents. So I want to achieve whats described in this post. I just can't get it to work because my ...
user avatar
0 votes
0 answers
76 views

Does includegraphics run any faster with lower bit depth images?

My images take a long time to render (using TexStudio with pdflatex). I don't want to drop the resolution (number of pixels) of the images but can afford to drop the bit depth from 24 to 8 bit without ...
user avatar
1 vote
0 answers
51 views

Can't add .png to document [closed]

I am new to LaTeX and currently am struggling with inserting a .png. Also, I am new to this forum so please tell me if anything is missing for the question. I have looked for similar topics, however I ...
user avatar
1 vote
0 answers
79 views

correctly scaling the output of svg2tikz for using in a tikzpicture

I am pretty new to tikz. I would like to use a simple external image inside a tikzpicture environment, like in the following mwe \documentclass[tikz,border=5]{standalone} \begin{document} \begin{...
user avatar
  • 11
0 votes
1 answer
46 views

TikZ styles : optional color argument, specify circle radius ; trouble with the width of generated PNG images

Here're graphs created with TikZ. I would like to add the following features : Draw smaller circles. Add an optional color argument for the edges. The width of the generated PNG/PDF picture is not ...
user avatar
  • 117
0 votes
0 answers
113 views

include PDF, PNG/JPEG images with DVI-PS-PDF chain (needed for \chemnum package) (Texstudio)

I am writing a chemical report in TexStudio and include several different image formats, mainly EPS, created with ChemDraw. The drawings are included with the graphicx package and \includegraphics. As ...
user avatar
  • 1
1 vote
0 answers
115 views

How to embed GIF into a Beamer presentation?

I want to add a gif into my beamer presentation. I already converted my gif into pngs like in the picture. But I have no idea how to embed png sequence to my tex file. I used the following code \...
user avatar
-1 votes
1 answer
148 views

Moodle Can't Import PNG larger than 100K [closed]

This is a strange problem. If I used moodle.sty from https://gitlab.mattgk.myds.me/mattguer/moodle/ and includegraphics for my PNG pictures, anything larger than 100K will not be imported. This for ...
user avatar
  • 59
0 votes
1 answer
385 views

ERROR: File not found

So this question has been asked a lot of times and I´ve tried every suggestion on this subject. none of which has worked for me. Here I just tried printing an image in my pdf. I've tried the ...
user avatar
1 vote
0 answers
43 views

Insert cover as a png on entire page of a document [duplicate]

I am using a template on overleaf (https://www.overleaf.com/latex/templates/d-and-d-5e-latex-template/vmfdkjfhfynv) and I wrote the entire document. I had created a png file, with the same size of a ...
user avatar
0 votes
0 answers
57 views

Latex includes a png file ./....png that I cannot find on my computer

I have a working latex code for a paper. It uses one image graphics file named ./DecompMatrFoValpha..png as I see in my log file on p. [4]. All other image files on later pages [5],[6] are findable ......
user avatar
0 votes
0 answers
29 views

Exporting a PNG fails

I'm trying to generate a png image using the below command, however, the code only generates a pdf file, what is the problem? I used terminal and the command pdflatex --shell-escape test.tex \...
user avatar
  • 983
1 vote
1 answer
191 views

Combining images side by side with overlays in beamer

I have left and right images. I want to place them side by side and overlay them by clicking next in the presentation. The left pictures should change with every click and the right pictures would be ...
user avatar
  • 11
0 votes
1 answer
334 views

Why can't I insert this png?

I just wanted to insert this png (see attachment), but I get a bunch of errors -> undefined control sequence \documentclass[pdftex,a4paper, 10pt]{article} \usepackage[utf8]{inputenc} \usepackage[...
user avatar
0 votes
0 answers
124 views

add legend in graphic in PNG format

I have the following chart in a png format that I need to include in latex file: There is a way to add a legend over the figure using latex, like in the outline below? Edit: Simple working code \...
user avatar
0 votes
0 answers
29 views

Pre-convert figures into a specific format?

I have a set of figures with different formats: jpg, png, svg, pdf. Most figures are produced by me (plots) so I have a choice as to the format in which to save them in. I'm not sure if I should pre-...
user avatar
  • 145
1 vote
1 answer
39 views

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 ...
user avatar
  • 43
0 votes
1 answer
33 views

Problem inserting a .eps figure after converted it from a .png using Inkscape

I have a large graph that I have saved in .eps. However, my result text turns my PC slow when reading these big graphs. My CPU usage on the pdf reader process goes to 20% every time my screen hits ...
user avatar
0 votes
1 answer
253 views

Inserting an image into TexShop on Mac Os Mojave

I've been trying to insert a .png image into my document on LaTeX for Mac. I have my image in the same folder as the LaTeX file and all other associated files. However when calling on the image in \...
user avatar
  • 1
0 votes
0 answers
35 views

Latex png image embedding code producing no viewable output in pdf form

i have been trying to embed a png image in latex. i have compiled the document but when i press to view the pdf document there is no output of the image in the pdf viewer. here is the code i used; \...
user avatar
0 votes
0 answers
26 views

Why would \includegraphics work for a .png but not .eps? [duplicate]

The following displays the .png figure in the pdf but not the .eps figure: \documentclass[12pt]{article} \usepackage{graphicx} \usepackage{epstopdf} \begin{document} \begin{figure}[htb] \...
user avatar
  • 1
1 vote
2 answers
863 views

Running a GIF like a movie in a Beamer frame, ideally without having to download the GIF in the PC (I'm using Overleaf)

I'd like to include the GIF in the link (https://spin.atomicobject.com/wp-content/uploads/ms_2d_bw_2.gif) into my beamer presentation. I've seen several threads that converts the GIF into a sequence ...
user avatar
  • 627
1 vote
0 answers
90 views

Is it possible to output pgf plots and/or tikz into an image file like jpg or png?

I'm trying to put simple figures made with Tikz into a blogger blog, which seems to require images to be in png or jpg, not pdf. I've tried using Snip and TikzEdt, but my final images are blurry. Is ...
user avatar
0 votes
1 answer
62 views

Open a PNG externally by clicking on the image, potentially via hyperref

Aim: Open a PNG image externally by clicking on its image in a PDF. Motivation: I would like to have, say, four tiny images on my PDF side by side. If I want to examine one of them, I would like to ...
user avatar
1 vote
1 answer
142 views

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 ...
user avatar
  • 351
1 vote
1 answer
101 views

Simplest way to place cropped image on other image (Tikz)

(I'm sure lots of ppl have had this exact same problem before, but I could not find it anywhere.) I have two PNG files, A & B. Image A is like a frame, so it has an empty area in the middle. In ...
user avatar
  • 163
7 votes
1 answer
811 views

PNG/JPEG to tikz code converter

I was wondering if there is a converter, a program, that lets you upload or create an image and then gives you the tikz code to create it in LaTeX? I found a similar problem here, but none of the ...
user avatar
  • 1,022
0 votes
0 answers
91 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 ...
user avatar
  • 121
2 votes
1 answer
123 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, ...
user avatar
  • 678
3 votes
0 answers
169 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 ...
user avatar
  • 864
1 vote
1 answer
144 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 (...
user avatar
5 votes
1 answer
598 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 ...
user avatar
1 vote
0 answers
2k 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 ...
user avatar
1 vote
0 answers
224 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 ...
user avatar
0 votes
1 answer
200 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,...
user avatar
0 votes
1 answer
555 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 ...
user avatar
  • 49
3 votes
1 answer
368 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 (...
user avatar
0 votes
2 answers
227 views

Latex beamer custom logo

How do i convert a black and white logo of mine To have the effect as down below?
user avatar

1
2 3 4 5