Graphics, Figures & TablesOptimizing PNG/JPG for Beamer

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
theo moore
Posts: 72
Joined: Thu Jan 15, 2009 3:16 pm

Optimizing PNG/JPG for Beamer

Post by theo moore »

My beamer presentation contains a header that spans the width of the page. Let's say that it's a PNG graphic made with some arbitrary large size (say, 3000 pixels across).

When it's included in the presentation, the re-sizing Beamer does distorts the details of the image. What I need to do is exactly resize the image beforehand, then have Beamer only take the specific size.

What size should the header be made (in pixels?) so that when the Beamer presentation is enlarged to full-screen mode, the image looks as it should?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: Optimizing PNG/JPG for Beamer

Post by phi »

It's impossible to give an answer for the general case because the size in pixels of the resulting image depends on the resolution of the target device. If that is unknown, you'll have to rely on the interpolation capabilities of the PDF viewer.
Post Reply