hello everyone!
Recently I use openresty to scale picture,in which the GraphicsMagick is being used,my version is GraphicsMagick-1.3.19. I want to change my output to a new picture format webp which is a opensource project of google , the method i use webp is to integrate it to nginx use lua , the function i call in my script is MagickSetImageFormat(self.wand, format), wand is a blob object, format is the target i want to output , it support jpg/png,but webp is not support, the GraphicsMagick has support webp format, but i don't know how to intergate it to lua, can anyone help me ?