Skip to content

Commit b6cf5b8

Browse files
docs: add newly supported formats to the formats table(#157)
1 parent 6b7bce9 commit b6cf5b8

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

docs/basics/working-with-images.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@ In the context of digital technology and computing, images are represented as a
88

99
- Currently ImageJS supports images with these characteristics:
1010

11-
| | TIFF | JPEG | PNG | BMP |
12-
| -------------------------------- | ---------------- | ------- | ---------------- | -------- |
13-
| **Bits per channel** | 8 or 16 bits | 8 bits | 8 or 16 bits | 1 bit |
14-
| **Alpha channel** | yes | no | yes | no |
15-
| **Lossy compression** | can be either | yes | no | no |
16-
| **Color Model** | RGB or grayscale | RGB | RGB or grayscale | N/A |
17-
| **Can be loaded in this format** | ✅ | ✅ | ✅ | ❌ |
18-
| **Can be saved in this format** | ❌ | ✅ | ✅ | ✅ |
11+
| | TIFF | JPEG | PNG[^1] | BMP |
12+
| -------------------------------- | --------------------------- | -------- | --------------------------- | --------------------------- |
13+
| **Can be loaded in this format** | ✅ | ✅ | ✅ | ✅ |
14+
| **Can be saved in this format** | ❌ | ✅ | ✅ | ✅ |
15+
| **Bits per channel** | 1, 8 or 16 bits | 8 bits | 1, 2, 4, 8 or 16 bits | 1 or 8 bits |
16+
| **Alpha channel** | ✅ | ❌ | ✅ | ✅ |
17+
| **Palette images** | ✅ | ❌ | ✅ | ❌ |
18+
| **Lossy compression** | can be either | ✅ | ❌ | ❌ |
19+
| **Color Model** | Binary[^2],RGB or grayscale | RGB | Binary[^2],RGB or grayscale | Binary[^2],RGB or grayscale |
20+
21+
[^1]: ImageJS can also **decode** [APNG images](https://en.wikipedia.org/wiki/APNG).
22+
23+
[^2]: While binary images can be decoded, for technical reasons image is decoded as a grayscale image.
1924

2025
### Image coordinates
2126

project-words.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ Dssim
3838
mssim
3939
GREYA
4040
Polylines
41-
anonymization
41+
anonymization
42+
APNG

0 commit comments

Comments
 (0)