TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got many troubles with raster images and beamer class:

  1. convert *.png to eps, cslatex => dvips => ps2pdf, images look like compressed by jpg algorithm :/
  2. convert *.png -> eps -> pdf (epstopdf) - images after conversion look like compressed again...
  3. use *.png and pdfcslatex - images are ok, however positioning, etc. doesn't work good...
  4. use cslatex => dvipdfm - doesn't work with beamerclass...

Without beamer, I'm using the 4th option with eps images and everything's ok... Beamer is really a great package, however these troubles with images are * * * * *

What am I doing wrong? Is there any other possibility?


share|improve this question
What is the original format of your images? PNG? If you are using PNG, you just need to use pdflatex. – xport Jul 7 '11 at 14:11
Note that this has nothing to do with the beamer class in particular. Images aren't included any different with it than any other LaTeX documents (Maybe you might know LaTeX only from beamer?). I would recommend you as well to use pdflatex and PNG images directly. – Martin Scharrer Jul 7 '11 at 14:17
mics - some of them are png, others eps. Thus, I wanted to convert all of them to eps... Well, pdflatex is not the best options, due to strange spacing, centering, etc... – morph Jul 7 '11 at 14:30
I probably find the problem with centering - I was using bb with pdf, and thus, it couldn't work. Ok, I hope, it's allright now – morph Jul 7 '11 at 15:50
pdflatex shouldn't behave different for spacing, centering, etc. You are right that bb could caused problems with PDF images. There is no need to use this with pdflatex. – Martin Scharrer Jul 7 '11 at 18:15
up vote 3 down vote accepted

It seems that the biggest mistake I made was using of bb (I forgot to remove when I changed from png to pdf) with pdf images. So, I am using pdflatex and it works now. Sorry for silly question...

share|improve this answer
Thanks for letting us know what the issue was. With pdflatex you don't need bb for PDF, PNG or JPG images. It can read the bounding box information directly from the files. Please accept this answer after the required waiting period (48 hours I think) so that the question is officially concluded. Thanks. – Martin Scharrer Jul 8 '11 at 16:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.