Inspect the real file
Read the file signature and decode the image instead of trusting its extension.
自动识别图片真实格式,并在浏览器本地完成转换。
支持 PNG、JPEG、WebP、HEIC、HEIF 及可转换的位图格式
图片仅在当前浏览器中处理上传后自动检查真实格式、文件大小和模型兼容性。
The converter only enforces requirements documented for Gemini image inputs. Unknown limits remain unknown.
Read the file signature and decode the image instead of trusting its extension.
Keep compatible originals untouched, or convert and compress when required.
Check the generated Blob again so its content, MIME type, and extension agree.
Google documents a 20 MB limit for the complete inline request, not just the original file. Base64 encoding increases the payload and the prompt also needs space, so this tool uses 14 MB as a conservative optimization target.
No. Automatic mode returns the original file when its real format is supported and it is already within the safe inline size.
Google does not document a hard input aspect-ratio requirement for this workflow, so the converter does not crop your image.