{"category":"image","endpoint":"https://setget.net/v1/tools/image-convert","examples":[{"input":{"format":"webp","image":"sample.png"},"title":"PNG to WebP"},{"input":{"background":"#ffffff","format":"jpg","image":"sample-transparent.png"},"title":"Transparent PNG to JPG on white"},{"input":{"format":"webp","image":"sample.gif"},"title":"Animated GIF to animated WebP"}],"input_schema":{"additionalProperties":false,"properties":{"background":{"default":"#ffffff","description":"Colour put behind transparent areas when the new format has no transparency (JPG and BMP). A hex colour such as #ff8800, or a name such as white or black.","examples":["#ffffff"],"type":"string"},"format":{"description":"The format to convert to.","enum":["png","jpg","webp","avif","gif","bmp","tiff","ico"],"examples":["webp"],"type":"string"},"image":{"description":"The image to convert.","format":"setget-file","type":"string","x-accept":["image"]},"lossless":{"default":false,"description":"Keep every pixel exact in WebP or AVIF, at the cost of a larger file.","type":"boolean"},"quality":{"description":"Quality from 1 (smallest file) to 100 (best) for JPG, WebP and AVIF. Leave empty for a sensible default.","examples":[85],"maximum":100,"minimum":1,"type":"integer"}},"required":["image","format"],"type":"object"},"keywords":["convert","png to jpg","jpg to png","webp","avif","gif","bmp","tiff","ico","favicon","image converter","change format","heic"],"related":["image-compress","image-resize","image-flatten","image-info"],"slug":"image-convert","summary":"Convert an image between PNG, JPG, WebP, AVIF, GIF, BMP, TIFF and ICO. Animated GIF and WebP stay animated.","tier":"job","timeout_seconds":120,"title":"Convert image format","url":"https://setget.net/tools/image-convert"}
