@@ -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
0 commit comments