{jpeg} is about the photographic image format JPEG (Joint Photographic Experts Group)

learn more… | top users | synonyms

65
votes
6answers
14k views

Which graphics formats can be included in documents processed by latex or pdflatex?

There several types of graphics files. In no particular order .jpeg .eps .pdf .png .tif .jif (and no doubt others). Some work with latex, dvips and some work with pdflatex. How am I supposed to know ...
21
votes
3answers
720 views

Is it ImageMagick's fault or pdflatex's that some JPEGs aren't working?

pdflatex (as well as lualatex and xelatex) cannot process (some) JPEG images which were created by my ImageMagick. I'm on OSX Mavericks, using ImageMagick v6.9.0-0 Q16 x86_64 provided via MacPorts. ...
14
votes
2answers
12k views

Dimension too large on a PNG figure under xelatex and beamer

I have PNG image I want to introduce into my presentation. The figure is black and white and the edges are small. When I compile the file in pdflatex everything is fine but when I Compile it with ...
12
votes
4answers
1k views

What causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?

Internally, what causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?
12
votes
1answer
315 views

Why can't XeTeX handle this dank meme?

MWE Please use the image linked to below. \documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics{dank} \end{document} Oddly enough, only this picture fails and only when ...
10
votes
2answers
579 views

pdfTeX and JPEG2000

In Which graphics formats can be included in documents processed by latex or pdflatex?, the answers indicate that that pdfLaTeX understands JPEG2000. For me it doesn't work and the above link seems to ...
9
votes
1answer
4k views

Losing resolution when using \includegraphics to import JPEG.

I'm using \includegraphics{} with the graphicxpackage to include some pictures. There is quality detoriation though (see example images). How can I fix this? I want a 1 to 1 insertion of a 756x510px ...
8
votes
2answers
4k views

PNG and JPG quality loss inserting webpage screenshot into LaTeX document

I have tried using both a png and jpg file format for my images but I still loose a significant amount of quality when I run pdflatex. Is there some way to work around this? \documentclass[12pt, ...
7
votes
2answers
6k views

How to save a figure produced by tikz save/export as JPG/PNG file

I have created various plots using pgfplots package for my thesis. Now I would export them in jpg or png format. Does it exist a way to achieve this porpouse?
6
votes
2answers
1k views

What steps are done by XeLaTeX when compiling input files with PSTricks codes, jpeg, png, eps, pdf images?

I am confused why XeLaTeX can produce a pdf output from an input file that contains PSTricks codes, PNG, JPEG, PDF, EPS images. It is the first time I use XeLaTeX and I am really surprised that I can ...
6
votes
1answer
791 views

Anybody ever encountered “arithmetic: number too big” when importing an image?

I'm trying to insert an image, which I've done probably a thousand times before, but I'm having issues with this one. The image is a jpg I just created in Paint - it's not excessively large or high ...
4
votes
2answers
952 views

PSTricks -> How can I compile a graph/figure to obtain an PNG/JPG with background transparent?

How to obtain this graph in a PNG/GIF/JPG graph with transparent background? \documentclass[12pt,a4paper,x11names]{report} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} ...
4
votes
1answer
394 views

Copying figures into LaTeX

I want to copy some figures from previous studies and use them in the introduction of my thesis. My current procedure to do this is: print screen the necessary page from the pdf file I am interested ...
4
votes
2answers
4k views

LaTeX figure problems

I want to include a jpg to a LaTeX document, which I have done many times. Normally, I use put it in a figure environment, the code looks like this: \documentclass[twoside]{article} ...
3
votes
1answer
2k views

XeLaTeX portrait jpg photo insertion

I'm using XeLaTeX to produce photobooks. Searching for info on placing portrait jpg's on a page with adjacent column text similar to published photo books. Have no Problem with landscape mode with ...
2
votes
0answers
139 views

Figures are messed up when opening PDF in Adobe Reader [closed]

I compile my tex file using WinEdt 7.0. Many of the figures in the generated pdf are messed up if the pdf is opened in Adobe, but the figures are totally fine in the preview (I use SumatraPDF) or if I ...
2
votes
0answers
71 views

JPEG images changed to black and white [duplicate]

All my jpg images in LaTeX are coming out in black and white. Similar question here, but it doesn't seem to answer my question. I am using Texmaker and latex + dvips + sp2pdf + ViewPDF Here is an ...
1
vote
1answer
22k views

How to insert a JPEG picture using LaTeX

I try to insert a picture using the code below \usepackage{pgf} \begin{figure}[h] \centering \includegraphics[width=2.5in]{image/Test} \caption{Example TA} \label{fig:Reinforcement} \end{figure} ...
1
vote
3answers
1k views

What is the most efficient way to render LaTeX to a viewable format on a server?

I am working on an online web-app that incorporates LaTeX document generation. Currently, as a beginner to LaTeX (but the most experienced developer in my team), I am trying to determine the most ...
1
vote
1answer
53 views

How can I extract EXIF information from an image and display it?

I would like to build a function that inserts a JPG in a xelatex file and automatically caption it with information extracted from the JPG's EXIF data, such as exposure time, etc. How can I do that?
1
vote
1answer
262 views

Why is “width=\textwidth” setting not properly scaling graphic?

I'm including a jpg figure in my LaTeX document like this: \begin{figure}[htbp]\centering % fbox here only for illustrative purposes ...
1
vote
1answer
194 views

Image Quality (pgn, jpeg, PDF) [duplicate]

At the moment I am writing a document which will include a lot of screenshots. When I save and use the Screenshots as jpeg you can clearly see a loss of image quality. What is the best method for ...
1
vote
0answers
38 views

How to include a .bmp image in XeTex using plain TeX source file

Using XeTeX, I would like to insert a bitmap image file which is in .bmp format, or alternatively, the same image in a .jpg format. I am using plain TeX, not LaTeX. Using PCTeX version 6, ...
1
vote
0answers
49 views

How to preserve clearness while converting jpg to pdf file? [closed]

I would like convert several jpg files (each being a photo taken of two pages of a book) to a pdf file, with the goal of making the pdf file look like pages of a regular ebook file in terms of page ...
1
vote
0answers
192 views

Unable to include .jpg and .png even though I have declared \usepackage{graphicx} in the preamble, and attached the graphicx.sty in the same folder [closed]

I am writing a thesis in a large .tex file in Vim. I have a .jpg and .png high quality native images, that converted to .eps result in very a low quality. Visually, it is a lower quality. Therefore, I ...
0
votes
2answers
148 views

What is the common approach to include pictures/figures from pdf files or other sources? [closed]

What is the common approach to include pictures/figures from pdf files or other sources? My approach is to save the graphic as a jpg. Afterwards I include it into a Power Point and safe it from PP to ...