Texniccenter/eps/pdf and transparent images

AI Thread Summary
To add EPS images with a transparent background to a PDF generated by TeXnicCenter in a Windows environment, users can utilize the \includegraphics command. In installations like MikTeX and MacTeX, EPS images are automatically converted to PDF format when using latexpdf. However, if transparency is required, LaTeX does not support it directly. Instead, using TikZ/PGF with PNG images is a viable solution, as PNG supports transparency. Users initially faced issues by attempting to use unsupported GIF images and mistakenly assuming only EPS images could be used. Transitioning to PNG resolved the transparency issue, demonstrating that while LaTeX has limitations, alternative methods exist for achieving desired results.
cobalt124
Messages
60
Reaction score
32
I'm looking for a way to add eps images with a transparent background to a pdf generated by texniccenter (Windows environment). Can this be done?
 
Physics news on Phys.org
Can you just incorporate the image using \includegraphics?
http://en.wikibooks.org/wiki/LaTeX/Importing_Graphics#Compiling_with_pdflatex

With my installs of MikTeX and MacTeX, the .eps images get automatically converted to .pdf (and left in the directory for future use) when I run latexpdf. However, the link above (and beside .eps) suggests some alternate steps if you're having trouble.
 
Thanks for the link, I think I am on the right track now. I skim read that link previously in my googling and found nothing on transparency and moved on. This time I read it through and realized my two mistakes, the really silly one of initially using gif images (not supported) instead of jpg, which led me to assuming that I could only use eps images, which isn't true. I did notice however that I am running texpdf and not latexpdf which I will have to look into. Anyway, I'm confident I should have this cracked soon. As you've probably guessed, I'm new to latex.
 
Cracked it. I don't think latex supports transparency directly, so tried Tikz/pgf. This only supports jpg and png and since jpg doesn't support transparency I tried png and it works. Though I don't see why it shouldn't just work in latex.
 
Back
Top