Supported Files
File Types
Document AI supports the following image types.
For information about file size and page limits, refer to the Quotas and Limits page.
Name | File Extension(s) | MIME Type |
---|---|---|
Portable Document Format (PDF) | .pdf |
application/pdf |
Graphics Interchange Format (GIF) | .gif |
image/gif |
Tag Image File Format (TIFF) | .tiff , .tif |
image/tiff |
Joint Photographic Experts Group (JPEG) | .jpg , .jpeg |
image/jpeg |
Portable Network Graphics (PNG) | .png |
image/png |
Bitmap (BMP) | .bmp |
image/bmp |
WebP | .webp |
image/webp |
Note that some of these image formats are "lossy" (for example, JPEG). Reducing file sizes for lossy formats may result in a degradation of image quality and accuracy of results from Document AI.
Document scan resolution
For most accurate OCR results from Document AI, document scans should be a minimum of 200 dpi (dots per inch). 300 dpi and higher will generally produce the best results.