SHIP:Property:image:src

From Serious Documentation
Revision as of 17:21, 8 November 2017 by CarltonHeyer (talk | contribs)
Jump to: navigation, search

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)