InShape file format: Difference between revisions
Jump to navigation
Jump to search
>Lp m (add 32-bit info) |
>Lp m (updated info) |
||
| Line 1: | Line 1: | ||
<pre> | <pre> | ||
InShape | InShape *.IIM | ||
8 bytes | 8 bytes file ID ["IS_IMAGE"] | ||
1 word | 1 word type [0 = 1 plane, 1 = 8 planes gray, 4 = 24 planes, 5 = 32 planes] | ||
1 word | 1 word bit planes [inconsistent as some older files contain '72'] | ||
1 word | 1 word image width in pixels | ||
1 word | 1 word image height in pixels | ||
-------- | -------- | ||
16 bytes | 16 bytes total for header | ||
?? | ?? Image data: | ||
1 plane is monochrome, width assumed to be rounded up to the nearest byte | 1 plane is monochrome, width assumed to be rounded up to the nearest byte | ||
8 planes is 256 level | 8 planes gray is 256 level gray scale, where 0 = black and 255 = white | ||
24 planes is true-color, RGB format, 3 bytes per pixel in R, G, B order | 24 planes is true-color, RGB format, 3 bytes per pixel in R, G, B order | ||
32 planes is true-color, RGB format with alpha, 4 bytes per pixel in A, R, G, B order | 32 planes is true-color, RGB format with alpha, 4 bytes per pixel in A, R, G, B order | ||
| Line 22: | Line 22: | ||
- 24 bit (16 million colors). | - 24 bit (16 million colors). | ||
- 32 bit (24 bit alpha channel for mask). | - 32 bit (24 bit alpha channel for mask). | ||
</pre> | </pre> | ||
Back to [[ST Picture Formats]] | Back to [[ST Picture Formats]] | ||
Revision as of 01:27, 14 January 2017
InShape *.IIM
8 bytes file ID ["IS_IMAGE"]
1 word type [0 = 1 plane, 1 = 8 planes gray, 4 = 24 planes, 5 = 32 planes]
1 word bit planes [inconsistent as some older files contain '72']
1 word image width in pixels
1 word image height in pixels
--------
16 bytes total for header
?? Image data:
1 plane is monochrome, width assumed to be rounded up to the nearest byte
8 planes gray is 256 level gray scale, where 0 = black and 255 = white
24 planes is true-color, RGB format, 3 bytes per pixel in R, G, B order
32 planes is true-color, RGB format with alpha, 4 bytes per pixel in A, R, G, B order
From the InShape website:
The IIM format has several variants:
- Duochrome.
- 256 Grayscale.
- 24 bit (16 million colors).
- 32 bit (24 bit alpha channel for mask).
Back to ST Picture Formats