TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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 have an .webp image that I want to use in my Latex document. However, I can't really find how to use it or is it simply not possible with Latex?

share|improve this question
Under pdfTeX (perhaps the most versatile), you can only include a fixed number of image types. See Graphics file extensions and their order of inclusion when not specified. I would assume that you should convert the image to one of these. – Werner Nov 29 '12 at 18:49
Ok, also see the comment @DavidCarlisle. – Aaron Nov 29 '12 at 19:03

You probably need to convert the image to png. A freely available convertor precompiled for windows/linux/mac is available from



dwebp image.webp -o image.png

should produce a usable file.

share|improve this answer
The link suggests it's a conversion tool to .webp. Does it also convert from .webp? – Werner Nov 29 '12 at 19:00
Well, I was hoping Latex would support it or that there would be a package available to add this function. – Aaron Nov 29 '12 at 19:01
well if you want latex to do it on the fly you could enable shell escape and set up a graphics rule for .webp such that it executes the conversion (a lot of people do this for eps/pdf conversion in pdftex) but really it's simpler just to convert it once and include the png directly unless it is changing all the time. – David Carlisle Nov 29 '12 at 19:03

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.