Conversion Toolsconverting bmp to jpeg

Information and discussion about output converters related to LaTeX (e.g. dvips, ps2pdf, ...)
Post Reply
kent
Posts: 57
Joined: Thu Oct 20, 2016 3:41 pm

converting bmp to jpeg

Post by kent »

I have som plot generated as bmp file (bitmap format). My Latex (using pdflatex) does not accept bmp. How can I
say convert bmp to JPEG format?
Kent

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

converting bmp to jpeg

Post by Stefan Kottwitz »

Hi Kent!

You can use any graphics program such as GIMP. It's a free program. Or Imagemagick. Or MS Paint or Paint.NET.

I suggest you convert to png instead of jpeg. png is supported by pdfLaTeX and should have better quality, since the jpg compression can be lossy.

By the way, how did you generate the Plot? Because LaTeX can generate plots in high quality (bmp, jpeg and png are not scalable). For example, with PGFplots.

Stefan
LaTeX.org admin
Post Reply