base64_decode_image
Decode Base64 encoded strings into image files. Specify the output path and MIME type to convert encoded data into a usable image format.
Instructions
将Base64编码解码为图片
Args:
encoded: Base64编码的字符串
output_path: 输出图片的路径
mime_type: 图片的MIME类型 (默认为image/png)
Returns:
解码结果
Input Schema
Name | Required | Description | Default |
---|---|---|---|
encoded | Yes | ||
mime_type | No | image/png | |
output_path | Yes |
Input Schema (JSON Schema)
{
"properties": {
"encoded": {
"title": "Encoded",
"type": "string"
},
"mime_type": {
"default": "image/png",
"title": "Mime Type",
"type": "string"
},
"output_path": {
"title": "Output Path",
"type": "string"
}
},
"required": [
"encoded",
"output_path"
],
"title": "base64_decode_imageArguments",
"type": "object"
}