diff --git a/docs/basics/working-with-images.md b/docs/basics/working-with-images.md index 6aea935..cce6a9d 100644 --- a/docs/basics/working-with-images.md +++ b/docs/basics/working-with-images.md @@ -8,14 +8,19 @@ In the context of digital technology and computing, images are represented as a - Currently ImageJS supports images with these characteristics: -| | TIFF | JPEG | PNG | BMP | -| -------------------------------- | ---------------- | ------- | ---------------- | -------- | -| **Bits per channel** | 8 or 16 bits | 8 bits | 8 or 16 bits | 1 bit | -| **Alpha channel** | yes | no | yes | no | -| **Lossy compression** | can be either | yes | no | no | -| **Color Model** | RGB or grayscale | RGB | RGB or grayscale | N/A | -| **Can be loaded in this format** | ✅ | ✅ | ✅ | ❌ | -| **Can be saved in this format** | ❌ | ✅ | ✅ | ✅ | +| | TIFF | JPEG | PNG[^1] | BMP | +| -------------------------------- | --------------------------- | -------- | --------------------------- | --------------------------- | +| **Can be loaded in this format** | ✅ | ✅ | ✅ | ✅ | +| **Can be saved in this format** | ❌ | ✅ | ✅ | ✅ | +| **Bits per channel** | 1, 8 or 16 bits | 8 bits | 1, 2, 4, 8 or 16 bits | 1 or 8 bits | +| **Alpha channel** | ✅ | ❌ | ✅ | ✅ | +| **Palette images** | ✅ | ❌ | ✅ | ❌ | +| **Lossy compression** | can be either | ✅ | ❌ | ❌ | +| **Color Model** | Binary[^2],RGB or grayscale | RGB | Binary[^2],RGB or grayscale | Binary[^2],RGB or grayscale | + +[^1]: ImageJS can also **decode** [APNG images](https://en.wikipedia.org/wiki/APNG). + +[^2]: While binary images can be decoded, for technical reasons image is decoded as a grayscale image. ### Image coordinates diff --git a/project-words.txt b/project-words.txt index ddc22c6..5404a8d 100644 --- a/project-words.txt +++ b/project-words.txt @@ -38,4 +38,5 @@ Dssim mssim GREYA Polylines -anonymization \ No newline at end of file +anonymization +APNG \ No newline at end of file