Convert JPG Images to Webp

Options
Hey guys,

I created a table in my Database to serve my bubble application as an image bank. However the images arrive in JPG or PNG.

How to transform these images from JPG to Webp in my table? I thought of creating a function for this. Has anyone ever done something like this?

Thanks

Comments

  • Ray Deck
    Ray Deck Trusted Xano Expert ✭✭✭
    Options
    Shipping to a third-party service is probably your best bet atm. There are services out there for this with free tiers. I think https://cloudconvert.com is in this game.
  • Chris Coleman
    Chris Coleman Administrator

    ADMIN

    Options
    Something else to note -- Xano does not currently support WebP images. If you want to store these in your database table, you'll have to use an attachment field type.
  • Peter
    Peter Member
    Options

    Hi Chris,
    2023, WepP deosn't yet supported like an image file ?
    Can you tell us exhaustively what are the supported image formats?
    Thank you 🙏