Difference between revisions of "SHIP:Property:image:src"

From Serious Documentation
Jump to: navigation, search
Line 10: Line 10:
  
 
If the source image has 24-bit color (for example, 24-bit PNGs or JPGs), the re-encoding maintains the full color spectrum and does not compress down to 8-bit color.
 
If the source image has 24-bit color (for example, 24-bit PNGs or JPGs), the re-encoding maintains the full color spectrum and does not compress down to 8-bit color.
 +
 +
We support the most common JPEG format.
 +
 +
{| class="wikitable" style="width:50%;margin: 1em auto 1em auto;"
 +
|-
 +
! width="50%" align="center" | Feature
 +
! width="50%" align="center" | Specifications
 +
|-
 +
|align="left"| Elements of color
 +
|align="left"| 3 colors (YCbCr)
 +
|-
 +
|align="left"| Ratio of sample
 +
|align="left"| 4:4:4 (1x1,1x1,1x1)<br>4:2:2 (2x1,1x1,1x1)<br>4:2:2 (1x2,1x1,1x1)<br>4:1:1 (2x2,1x1,1x1)
 +
|-
 +
|align="left"| Input data
 +
|align="left"| All data has to be prepared
 +
|-
 +
|align="left"| Clipping of expansion
 +
|align="left"| No support
 +
|-
 +
|align="left"| Progressive
 +
|align="left"| No support
 +
|-
 +
|align="left"| Exif
 +
|align="left"| No support
 +
|-
 +
|}
 +
  
 
The following file types are supported:
 
The following file types are supported:

Revision as of 17:21, 8 November 2017

Node: image

Property Data Type Description
src** String The file name of a png/jpg/tiff/bmp/gif image.

**The src property cannot be referenced in scripts: SHIPEngine has no knowledge of the image source file names that are specified in SHIPTide projects.

Images are automatically re-encoded by SHIPTide for use with SHIPEngine from their native format to a special format internal to the engine designed to decode and display quickly. This reformatting is a lossless translation, and preserves transparency and alpha channel information.

If the source image has 8 bit color (for example, GIFs and 8-bit PNGs), the re-encoding is maintained in 8-bit color using a standard 256 entry look-up table where each entry is a full 32-bit ARGB value. The palette of one 8-bit color image does not have to be related in any way to that of any other image.

If the source image has 24-bit color (for example, 24-bit PNGs or JPGs), the re-encoding maintains the full color spectrum and does not compress down to 8-bit color.

We support the most common JPEG format.

Feature Specifications
Elements of color 3 colors (YCbCr)
Ratio of sample 4:4:4 (1x1,1x1,1x1)
4:2:2 (2x1,1x1,1x1)
4:2:2 (1x2,1x1,1x1)
4:1:1 (2x2,1x1,1x1)
Input data All data has to be prepared
Clipping of expansion No support
Progressive No support
Exif No support


The following file types are supported:

  • JPG
  • PNG (8-bit and 24-bit)
  • BMP
  • TIFF
  • GIF (non-animated)