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?


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.

  • The link suggests it's a conversion tool to .webp. Does it also convert from .webp?
    – Werner
    Nov 29 '12 at 19:00
  • 3
    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
  • 1
    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. Nov 29 '12 at 19:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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