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
1 answer
36 views

PNG background color inadvertantly changes in XeLaTeX [duplicate]

below screenshot of the same image showing (left) the image as desired in a generic image viewer and (right) after inclusion with XeLaTex and includegraphics. i remember having to deal with something ...
regnirpsj's user avatar
  • 185
0 votes
2 answers
205 views

A practical way to create, copy and paste LaTeX-generated equations in png format with transparent background?

In order of priority: Online (I use Overleaf on a daily basis, Idk if it can help) (latex2png website seemed perfect at first but many packages are missing [e.g. I can't use the \mathscr{} command]) ...
Ul Tome's user avatar
  • 103
2 votes
0 answers
88 views

PNG output fails in TeXworks

I am using Tex Live on Windows 11. I was finally able to produce a PNG file by executing the following TEX file from the Windows 11 command line. If executed from the TexWorks editor it is ...
JustCurious's user avatar
0 votes
1 answer
127 views

Strange border part of an image, only in the pdf, not in the png version

In overleaf, I add an image with: \begin{figure}[!ht] \centering \includegraphics[width=1\linewidth]{Exp1_stimuli.png} \caption{blabla}. \label{fig:Exp1Stimuli} \end{figure} This is a snapshot ...
Vaaal88's user avatar
  • 101
0 votes
1 answer
101 views

Embed LabVIEW Snippet (png including metadata) in PDF

I am currently working on documentation where parts of the software are written in LabVIEW. To share code I am trying to use Snippets. Is there any way to embed the resulting png using luatex while ...
Ceron's user avatar
  • 49
0 votes
2 answers
217 views

How can I add the ORCID ID with the .png file next to it?

I want to add the orcid link with the .png file. I'm using \documentclass[sn-mathphys]{sn-jnl}. I have tried several methods but none worked. I would like it to look something like this: https://link....
AgentOrange's user avatar
2 votes
1 answer
128 views

CircuiTikZ over a png image

I want to draw simple CircuiTikZ symbols over a .png image. This is what I want: This is what I currently get: Here is my code: \begin{figure} [!ht] \begin{tikzpicture}[x=1cm,y=1cm] \node at (0,0) {\...
el_maxx's user avatar
  • 163
2 votes
1 answer
75 views

How to define a color that matches inserted PNG

I am trying to use cbox and have the colors equal to the colors on the inserted figure. I opened the figure using the windows paint program and used the color picker to determine the rgb values of ...
Kong's user avatar
  • 2,273
0 votes
0 answers
106 views

Scale image header in \fancypagestyle

Modifying an existing template (found on overleaf), I want to reduce the size of the logo header I am adding- top right(saved as ijisalogo.png). My image itself is a little big and I would just like ...
zaira's user avatar
  • 111
0 votes
0 answers
80 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 ...
niran90's user avatar
  • 204
2 votes
0 answers
49 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 (...
newAccountLatexImages's user avatar
1 vote
0 answers
553 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 ...
Siebe Arnout's user avatar
0 votes
0 answers
48 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 ...
NotALolicon's user avatar
5 votes
1 answer
412 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 ...
arc_lupus's user avatar
  • 1,751
0 votes
0 answers
90 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 ...
Ivan Pavlov's user avatar
0 votes
0 answers
204 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 ...
Ungar Linski's user avatar
2 votes
1 answer
682 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 ...
Ungar Linski's user avatar
1 vote
1 answer
128 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 ...
sbinet's user avatar
  • 41
0 votes
1 answer
1k 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". \...
martes's user avatar
  • 11
1 vote
1 answer
81 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{...
shnnnms's user avatar
  • 51
1 vote
0 answers
156 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 ...
Giacomo's user avatar
  • 11
1 vote
2 answers
678 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 ...
user363808's user avatar
0 votes
0 answers
111 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 ...
Matt Majic's user avatar
1 vote
0 answers
90 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 ...
user241325's user avatar
1 vote
0 answers
158 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{...
PFB's user avatar
  • 13
0 votes
1 answer
52 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 ...
macxpat's user avatar
  • 119
0 votes
0 answers
175 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 ...
Carla's user avatar
  • 1
1 vote
0 answers
131 views

How to embed GIF into a Beamer presentation? [duplicate]

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 \...
Mustafa Umut Kazancıoğlu's user avatar
-1 votes
1 answer
199 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 ...
Kevin L's user avatar
  • 59
0 votes
1 answer
2k 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 ...
Atli Tobiasson's user avatar
1 vote
0 answers
49 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 ...
Danielson Silva's user avatar
0 votes
0 answers
163 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 ......
uhligfd's user avatar
  • 11
1 vote
1 answer
82 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 \...
Diana's user avatar
  • 1,191
1 vote
1 answer
320 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 ...
Zed's user avatar
  • 11
0 votes
1 answer
1k 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[...
Merkur Weimer's user avatar
0 votes
0 answers
172 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 \...
Clecio Jung's user avatar
0 votes
0 answers
31 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-...
s5s's user avatar
  • 155
1 vote
1 answer
48 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 ...
mvww11's user avatar
  • 43
0 votes
1 answer
41 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 ...
João Almeida's user avatar
0 votes
1 answer
501 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 \...
Cian's user avatar
  • 1
0 votes
0 answers
62 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; \...
user209450's 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] \...
Craig's user avatar
  • 1
1 vote
2 answers
2k 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 ...
Mathmath's user avatar
  • 627
1 vote
0 answers
190 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 ...
AnonBlogger's user avatar
0 votes
1 answer
77 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 ...
Herpes Free Engineer's user avatar
1 vote
1 answer
216 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 ...
Fernando Chu's user avatar
1 vote
1 answer
127 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 ...
Tomas By's user avatar
  • 187
7 votes
1 answer
2k 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 ...
Vebjorn's user avatar
  • 1,758
0 votes
0 answers
125 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 ...
WoeIs's user avatar
  • 121
2 votes
1 answer
145 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, ...
Ktree's user avatar
  • 688

1
2 3 4 5