Skip to content

Commit fb2bd4d

Browse files
authored
Add GIF format to documentation (#1035)
1 parent d82eb05 commit fb2bd4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/image-format.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The main Tesseract.js functions (ex. recognize, detect) take an `image` parameter. The image formats and data types supported are listed below.
44

5-
Support Image Formats: **bmp, jpg, png, pbm, webp**
5+
Support Image Formats: **bmp, jpg, png, pbm, webp, gif \[non-animated\]**.
66

77
For browser and Node, supported data types are:
88
- string with base64 encoded image (fits `data:image\/([a-zA-Z]*);base64,([^"]*)` regexp)
@@ -15,4 +15,4 @@ For browser only, supported data types are:
1515
For Node only, supported data types are:
1616
- string containing a path to local image
1717

18-
Note: images must be a supported image format **and** a supported data type. For example, a buffer containing a png image is supported. A buffer containing raw pixel data is not supported.
18+
Note: images must be a supported image format **and** a supported data type. For example, a buffer containing a png image is supported. A buffer containing raw pixel data is not supported.

0 commit comments

Comments
 (0)