InShape file format: Difference between revisions

From AtariForumWiki
Jump to navigation Jump to search
>Lp
(New page)
 
>Lp
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
<pre>
InShape   *.IIM
InShape     *.IIM


8 bytes         file ID ["IS_IMAGE"]
8 bytes     file ID ["IS_IMAGE"]
1 word         type [0 = 1 plane, 1 = 8 planes, 4 = 24 planes]
1 word     type [0 = 1 plane, 1 = 8 planes gray, 4 = 24 planes, 5 = 32 planes]
1 word         number of image planes [1, 8, or 24]
1 word     bit planes [inconsistent as some older files contain '72']
1 word         image width in pixels
1 word     image width in pixels
1 word         image height in pixels
1 word     image height in pixels
--------
--------
16 bytes       total for header
16 bytes   total for header


??             Image data:
??         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 grayscale, where 0 = black and 255 = white
   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
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).
</pre>
</pre>
Back to [[ST Picture Formats]]
Back to [[ST Picture Formats]]

Latest revision as of 01:28, 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