At line 14 changed one line |
| {{{nns_cidx}}} | Export by Photoshop. Contains color index data for the texture. |
| {{{nns_cidx}}} | Export by Photoshop. Contains color index data for the texture as 8-bits-per-pixel, compressed row-wise with RLE. Each segment begins with a lead byte, where the most significant bit set indicates a repeated byte. The low 7 bits are the length of that segment, minus one. |
At line 16 changed one line |
| {{{nns_frmt}}} | Identifies the texture format used. This can be one of {{{a3i5}}}, {{{palette4}}}, {{{palette16}}}, {{{palette256}}}, {{{a5i3}}}, {{{tex4x4}}}, or {{{direct}}}. This is not null-terminated. |
| {{{nns_frmt}}} | Identifies the texture format used. This can be one of {{{a3i5}}}, {{{palette4}}}, {{{palette16}}}, {{{palette256}}}, {{{a5i3}}}, {{{tex4x4}}}, or {{{direct}}}. This is not null-terminated. This block should always appear first. |
At line 18 changed one line |
| {{{nns_gray}}} | Export by photoshop. This can be emitted instead of {{{nns_ctbl}}} and {{{nns_cidx}}} for a grayscale palette. |
| {{{nns_gray}}} | Export by Photoshop. This can be emitted instead of {{{nns_ctbl}}} and {{{nns_cidx}}} for a grayscale palette. |
At line 20 changed one line |
| {{{nns_imst}}} | Data particular to OPTPiX iMageStudio. Not relevant to any other software. Data is only output for {{{palette4}}}, {{{palette16}}}, {{{palette256}}}, {{{a3i5}}} and {{{a5i3}}} textures. Its data takes on the form of a sequence of blocks. Each block begins with an 8-character block identifier followed by a 32-bit block length that includes the identifier and block length fields. Block identifiers used are {{{imstplnm}}}, {{{imstcidx}}}, {{{imstatbl}}}, and {{{imstctbl}}}. \\ * {{{imstctbl}}} specifies the color palette as a sequence of 24-bit RGB values in R, G, B byte order. \\ * {{{imstatbl}}} specifies the alpha channel of palette colors. iMageStudio handles {{{a3i5}}} and {{{a5i3}}} textures by duplicating the palette colors and varying the alpha channel. \\ * {{{imstcidx}}} specifies the indexed image data. \\ * {{{imstplnm}}} specifies something. |
| {{{nns_imst}}} | Data particular to OPTPiX iMageStudio. Not relevant to any other software. Data is only output for {{{palette4}}}, {{{palette16}}}, {{{palette256}}}, {{{a3i5}}} and {{{a5i3}}} textures. Its data takes on the form of a sequence of blocks. Each block begins with an 8-character block identifier followed by a 32-bit block length that includes the identifier and block length fields. \\ * {{{imstctbl}}} specifies the color palette as a sequence of 24-bit RGB values in R, G, B byte order. \\ * {{{imstatbl}}} specifies the alpha channel of palette colors. iMageStudio handles {{{a3i5}}} and {{{a5i3}}} textures by duplicating the palette colors and varying the alpha channel. \\ * {{{imstcidx}}} specifies the indexed image data as an 8-bit-per-pixel bitmap and compressed with RLE. Each segment starts with a header byte where the highest bit is set for a run of one byte and clear for a nonrepeating sequence of bytes. The low 7 bits are the length of the segment minus one. \\ * {{{imstplnm}}} 16-bit, specifies the size of the color palette For {{{a3i5}}} and {{{a5i3}}} textures, this is the size of the palette without duplication. |
At line 25 changed 2 lines |
| {{{nns_pver}}} | Photohop export plugin version. Only 1.0 is used. |
| {{{nns_t44o}}} | Export by Photoshop for {{{tex4x4}}} textures, 5 bytes in data size. 4x4 compression options? |
| {{{nns_pver}}} | Photohop export plugin version. Only 1.0 is used. Required to appear before other Photoshop data blocks. |
| {{{nns_t44o}}} | Export by Photoshop for {{{tex4x4}}} textures, 5 bytes in data size. First byte is 0 if compressed without interpolation, or 1 if using interpolation. Bytes 2-3 are the compression thresholds for the red, green, and blue channels from 0-31. The last byte is set to 0 if the 4x4 compression filter was not used, and 1 if it was. |
At line 28 changed one line |
| {{{nns_xpid}}} | Export by Photoshop. Contains 1 byte. Index of transparent color in the palette? |
| {{{nns_xpid}}} | Export by Photoshop. Contains 1 byte. Index of transparent color in Photoshop's palette. |